mirror of
https://github.com/python/cpython.git
synced 2025-11-12 07:02:33 +00:00
bpo-38244: [Documentation] Fix unreliable link to sever in ftplib.rst (#16319)
This commit is contained in:
parent
1ad7be2f16
commit
a7414571a1
1 changed files with 1 additions and 1 deletions
|
|
@ -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::
|
Here's a sample session using the :mod:`ftplib` module::
|
||||||
|
|
||||||
>>> from ftplib import FTP
|
>>> 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@
|
>>> ftp.login() # user anonymous, passwd anonymous@
|
||||||
'230 Login successful.'
|
'230 Login successful.'
|
||||||
>>> ftp.cwd('debian') # change into "debian" directory
|
>>> ftp.cwd('debian') # change into "debian" directory
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue