diff options
author | Jeremy Hylton <jeremy@alum.mit.edu> | 2001-04-09 04:31:50 (GMT) |
---|---|---|
committer | Jeremy Hylton <jeremy@alum.mit.edu> | 2001-04-09 04:31:50 (GMT) |
commit | 0e8468c8baffd5696cdaf83d5829262e3934d81d (patch) | |
tree | ba176c4824149ef9da2d94c3c5dac9ca81c965b6 /Lib | |
parent | 80e29bd1392bfae865f2ff44b1fe92a5d0fad7c8 (diff) | |
download | cpython-0e8468c8baffd5696cdaf83d5829262e3934d81d.zip cpython-0e8468c8baffd5696cdaf83d5829262e3934d81d.tar.gz cpython-0e8468c8baffd5696cdaf83d5829262e3934d81d.tar.bz2 |
remove global decl about unused variable
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/ftplib.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/ftplib.py b/Lib/ftplib.py index 1688d9a..3263281 100644 --- a/Lib/ftplib.py +++ b/Lib/ftplib.py @@ -245,7 +245,6 @@ class FTP: def makeport(self): '''Create a new socket and send a PORT command for it.''' - global nextport sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) sock.bind(('', 0)) sock.listen(1) |