diff options
| author | Ezio Melotti <ezio.melotti@gmail.com> | 2011-07-13 11:44:44 +0300 |
|---|---|---|
| committer | Ezio Melotti <ezio.melotti@gmail.com> | 2011-07-13 11:44:44 +0300 |
| commit | 62276d46314e0885f8d0f20ba89fecc5624dbd91 (patch) | |
| tree | 198a914ecd1a5ced2a3589bf724cc931dea1a10e /Doc | |
| parent | 838b6336c187d211753e8629cd9689dcd7cbe435 (diff) | |
| download | cpython-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.rst | 4 |
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`) |
