summaryrefslogtreecommitdiffstats
path: root/Doc/library/ftplib.rst
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2015-11-21 22:48:54 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2015-11-21 22:48:54 (GMT)
commit23244e5787209254143753f8bbaecde7d29ea9da (patch)
tree0f623d62a8c85d66209dbdad922a2b95dadac4f8 /Doc/library/ftplib.rst
parent4a93cf794c99a0c2a629cd986be550dcd029bfb4 (diff)
parent828123ce4e4d9f5a98ad4912817e7e86e1deae0c (diff)
downloadcpython-23244e5787209254143753f8bbaecde7d29ea9da.zip
cpython-23244e5787209254143753f8bbaecde7d29ea9da.tar.gz
cpython-23244e5787209254143753f8bbaecde7d29ea9da.tar.bz2
Issue #25689: Merge ftplib and nntplib docs from 3.4 into 3.5
Diffstat (limited to 'Doc/library/ftplib.rst')
-rw-r--r--Doc/library/ftplib.rst3
1 files changed, 1 insertions, 2 deletions
diff --git a/Doc/library/ftplib.rst b/Doc/library/ftplib.rst
index 3d1f783..f06e678 100644
--- a/Doc/library/ftplib.rst
+++ b/Doc/library/ftplib.rst
@@ -52,8 +52,7 @@ The module defines the following items:
will be used). *source_address* is a 2-tuple ``(host, port)`` for the socket
to bind to as its source address before connecting.
- :class:`FTP` class supports the :keyword:`with` statement. Here is a sample
- on how using it:
+ The :class:`FTP` class supports the :keyword:`with` statement, e.g.:
>>> from ftplib import FTP
>>> with FTP("ftp1.at.proftpd.org") as ftp: