diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2011-07-13 08:44:44 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2011-07-13 08:44:44 (GMT) |
commit | 3c14b4ebe789149caf929cfdd92f486c08de4a37 (patch) | |
tree | 7639a367ba9ea77425dc22775d6c920dcd5d6e53 /Doc/whatsnew | |
parent | 08506389575285bc3c316e0465fb9ae9c77bc18f (diff) | |
download | cpython-3c14b4ebe789149caf929cfdd92f486c08de4a37.zip cpython-3c14b4ebe789149caf929cfdd92f486c08de4a37.tar.gz cpython-3c14b4ebe789149caf929cfdd92f486c08de4a37.tar.bz2 |
#12547: Fix import and output in nntplib example. Initial patch by July Tikhonov.
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r-- | Doc/whatsnew/3.3.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/whatsnew/3.3.rst b/Doc/whatsnew/3.3.rst index 267de3a..0498ca8 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`) |