mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
remove global decl about unused variable
This commit is contained in:
parent
80e29bd139
commit
0e8468c8ba
1 changed files with 0 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue