Skip to content

Commit bf309d7

Browse files
Simple Enhancement. Add missing return statements in ftplib documentation. (GH-25968) (#25970)
(cherry picked from commit b32c8e9) Co-authored-by: Senthil Kumaran <senthil@uthcode.com> Co-authored-by: Senthil Kumaran <senthil@uthcode.com>
1 parent 7424105 commit bf309d7

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Doc/library/ftplib.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ Here's a sample session using the :mod:`ftplib` module::
2828
>>> ftp.login() # user anonymous, passwd anonymous@
2929
'230 Login successful.'
3030
>>> ftp.cwd('debian') # change into "debian" directory
31+
'250 Directory successfully changed.'
3132
>>> ftp.retrlines('LIST') # list directory contents
3233
-rw-rw-r-- 1 1176 1176 1063 Jun 15 10:18 README
3334
...
@@ -39,6 +40,7 @@ Here's a sample session using the :mod:`ftplib` module::
3940
>>> ftp.retrbinary('RETR README', fp.write)
4041
'226 Transfer complete.'
4142
>>> ftp.quit()
43+
'221 Goodbye.'
4244

4345

4446
The module defines the following items:

0 commit comments

Comments
 (0)