From db6a778b6bd9595dec2eaf5a88ddd73cec47bfde Mon Sep 17 00:00:00 2001 From: Prateek Nayak <45075669+Kriyszig@users.noreply.github.com> Date: Sat, 21 Sep 2019 11:58:37 +0530 Subject: [PATCH 1/2] bpo-38244: Fix unreliable link in ftplib.rst The link to ftp.debian.org is unreliable due to a failed redirect. Instead the main URL to ftp.us.debian.org is preferred --- Doc/library/ftplib.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/ftplib.rst b/Doc/library/ftplib.rst index 7423413d209ae0..0c0cb2dda1addc 100644 --- a/Doc/library/ftplib.rst +++ b/Doc/library/ftplib.rst @@ -22,7 +22,7 @@ as mirroring other FTP servers. It is also used by the module Here's a sample session using the :mod:`ftplib` module:: >>> from ftplib import FTP - >>> ftp = FTP('ftp.debian.org') # connect to host, default port + >>> ftp = FTP('ftp.us.debian.org') # connect to host, default port >>> ftp.login() # user anonymous, passwd anonymous@ '230 Login successful.' >>> ftp.cwd('debian') # change into "debian" directory From 971d84f411d0ac922ddfb0025171f0a94b6eb86c Mon Sep 17 00:00:00 2001 From: Prateek Nayak <45075669+Kriyszig@users.noreply.github.com> Date: Sat, 21 Sep 2019 20:18:10 +0530 Subject: [PATCH 2/2] Fix comment indentation --- Doc/library/ftplib.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/ftplib.rst b/Doc/library/ftplib.rst index 0c0cb2dda1addc..0d4b6ea2a2d675 100644 --- a/Doc/library/ftplib.rst +++ b/Doc/library/ftplib.rst @@ -22,7 +22,7 @@ as mirroring other FTP servers. It is also used by the module Here's a sample session using the :mod:`ftplib` module:: >>> from ftplib import FTP - >>> ftp = FTP('ftp.us.debian.org') # connect to host, default port + >>> ftp = FTP('ftp.us.debian.org') # connect to host, default port >>> ftp.login() # user anonymous, passwd anonymous@ '230 Login successful.' >>> ftp.cwd('debian') # change into "debian" directory