Skip to content

Commit b32c8e9

Browse files
authored
Simple Enhancement. Add missing return statements in ftplib documentation. (GH-25968)
1 parent 0988ed0 commit b32c8e9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Doc/library/ftplib.rst

+2
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)