commit | 9c98a428ef2d4ec0084d2cbc327ed2b94e9afe66 | [log] [tgz] |
---|---|---|
author | Fred Drake <fdrake@acm.org> | Wed Feb 28 21:46:37 2001 +0000 |
committer | Fred Drake <fdrake@acm.org> | Wed Feb 28 21:46:37 2001 +0000 |
tree | 63c483a0886765c34289965839cf5063d8fce392 | |
parent | 2fd456508fe1f6e9d89e153f2d8e83a95b233504 [diff] |
Move some constant initialization from FTP.__init__() and FTP.connect() to the class namespace. Allow FTP.close() to be called more than once without tossing cookies. (This seems to be a fairly common idiom for .close() methods, so let's try to be consistent.)