mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Update the docstring too. :-)
This commit is contained in:
parent
c33e077838
commit
24a643416d
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue