Commit 77ab6e6a authored by Guido van Rossum's avatar Guido van Rossum

Update the docstring too. :-)

parent 7ff7ce9b
...@@ -6,7 +6,7 @@ Example: ...@@ -6,7 +6,7 @@ Example:
>>> from ftplib import FTP >>> from ftplib import FTP
>>> ftp = FTP('ftp.python.org') # connect to host, default port >>> 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.' '230 Guest login ok, access restrictions apply.'
>>> ftp.retrlines('LIST') # list directory contents >>> ftp.retrlines('LIST') # list directory contents
total 9 total 9
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment