summaryrefslogtreecommitdiff
path: root/Doc
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2011-07-13 11:44:44 +0300
committerEzio Melotti <ezio.melotti@gmail.com>2011-07-13 11:44:44 +0300
commit62276d46314e0885f8d0f20ba89fecc5624dbd91 (patch)
tree198a914ecd1a5ced2a3589bf724cc931dea1a10e /Doc
parent838b6336c187d211753e8629cd9689dcd7cbe435 (diff)
downloadcpython-62276d46314e0885f8d0f20ba89fecc5624dbd91.tar.gz
#12547: Fix import and output in nntplib example. Initial patch by July Tikhonov.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/whatsnew/3.3.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/whatsnew/3.3.rst b/Doc/whatsnew/3.3.rst
index 267de3a9f7..0498ca8505 100644
--- a/Doc/whatsnew/3.3.rst
+++ b/Doc/whatsnew/3.3.rst
@@ -117,10 +117,10 @@ unconditionally consume :exc:`socket.error` exceptions and to close the NNTP
connection when done::
>>> from nntplib import NNTP
- >>> with nntplib.NNTP('news.gmane.org') as n:
+ >>> with NNTP('news.gmane.org') as n:
... n.group('gmane.comp.python.committers')
...
- ('211 1454 1 1454 gmane.comp.python.committers', '1454', '1', '1454', 'gmane.comp.python.committers')
+ ('211 1754 1 1754 gmane.comp.python.committers', 1754, 1, 1754, 'gmane.comp.python.committers')
>>>
(Contributed by Giampaolo RodolĂ  in :issue:`9795`)