Update the docstring too. :-)
This commit is contained in:
parent
c33e077838
commit
24a643416d
|
@ -6,7 +6,7 @@ Example:
|
|||
|
||||
>>> from ftplib import FTP
|
||||
>>> ftp = FTP('ftp.python.org') # connect to host, default port
|
||||
>>> ftp.login() # default, i.e.: user anonymous, passwd user@hostname
|
||||
>>> ftp.login() # default, i.e.: user anonymous, passwd anonymous@
|
||||
'230 Guest login ok, access restrictions apply.'
|
||||
>>> ftp.retrlines('LIST') # list directory contents
|
||||
total 9
|
||||
|
|
Loading…
Reference in New Issue