summaryrefslogtreecommitdiffstats
path: root/Doc/library/nntplib.rst
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2015-11-21 22:03:08 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2015-11-21 22:03:08 (GMT)
commit828123ce4e4d9f5a98ad4912817e7e86e1deae0c (patch)
treea4448d6f558f04be79e69cc271a4e99cdfb47890 /Doc/library/nntplib.rst
parent6e92c1137b02c64362c9dd79908c17b7ada62414 (diff)
downloadcpython-828123ce4e4d9f5a98ad4912817e7e86e1deae0c.zip
cpython-828123ce4e4d9f5a98ad4912817e7e86e1deae0c.tar.gz
cpython-828123ce4e4d9f5a98ad4912817e7e86e1deae0c.tar.bz2
Issue #25689: Fix language in ftplib and nntplib docs
Original patch by Silent Ghost.
Diffstat (limited to 'Doc/library/nntplib.rst')
-rw-r--r--Doc/library/nntplib.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/nntplib.rst b/Doc/library/nntplib.rst
index 4797965..9fb1b45 100644
--- a/Doc/library/nntplib.rst
+++ b/Doc/library/nntplib.rst
@@ -69,9 +69,9 @@ The module itself defines the following classes:
connecting to an NNTP server on the local machine and intend to call
reader-specific commands, such as ``group``. If you get unexpected
:exc:`NNTPPermanentError`\ s, you might need to set *readermode*.
- :class:`NNTP` class supports the :keyword:`with` statement to
+ The :class:`NNTP` class supports the :keyword:`with` statement to
unconditionally consume :exc:`OSError` exceptions and to close the NNTP
- connection when done. Here is a sample on how using it:
+ connection when done, e.g.:
>>> from nntplib import NNTP
>>> with NNTP('news.gmane.org') as n: