Skip to content

Commit

Permalink
Simple Enhancement. Add missing return statements in ftplib documenta…
Browse files Browse the repository at this point in the history
…tion. (pythonGH-25968)
  • Loading branch information
orsenthil committed May 7, 2021
1 parent 0988ed0 commit b32c8e9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Doc/library/ftplib.rst
Expand Up @@ -28,6 +28,7 @@ Here's a sample session using the :mod:`ftplib` module::
>>> ftp.login() # user anonymous, passwd anonymous@
'230 Login successful.'
>>> ftp.cwd('debian') # change into "debian" directory
'250 Directory successfully changed.'
>>> ftp.retrlines('LIST') # list directory contents
-rw-rw-r-- 1 1176 1176 1063 Jun 15 10:18 README
...
Expand All @@ -39,6 +40,7 @@ Here's a sample session using the :mod:`ftplib` module::
>>> ftp.retrbinary('RETR README', fp.write)
'226 Transfer complete.'
>>> ftp.quit()
'221 Goodbye.'


The module defines the following items:
Expand Down

0 comments on commit b32c8e9

Please sign in to comment.