diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2011-07-26 09:37:46 +0300 |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2011-07-26 09:37:46 +0300 |
commit | 04f648cb90f0750d007163f1d92da433cdbc9328 (patch) | |
tree | 5b90da430f8ccc7401473b82c8fd639d49eaffc6 | |
parent | 8188f585b2c1d21c1b680181f38b45c4234c6865 (diff) | |
download | cpython-git-04f648cb90f0750d007163f1d92da433cdbc9328.tar.gz |
#12547: Fix example in nntplib doc. Patch by July Tikhonov.
-rw-r--r-- | Doc/library/nntplib.rst | 4 | ||||
-rw-r--r-- | Doc/whatsnew/3.3.rst | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/nntplib.rst b/Doc/library/nntplib.rst index 19b8cab25a..01294e821d 100644 --- a/Doc/library/nntplib.rst +++ b/Doc/library/nntplib.rst @@ -75,10 +75,10 @@ The module itself defines the following classes: connection when done. Here is a sample on how using it: >>> 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 1755 1 1755 gmane.comp.python.committers', 1755, 1, 1755, 'gmane.comp.python.committers') >>> diff --git a/Doc/whatsnew/3.3.rst b/Doc/whatsnew/3.3.rst index 051d165e41..677f35cde4 100644 --- a/Doc/whatsnew/3.3.rst +++ b/Doc/whatsnew/3.3.rst @@ -128,7 +128,7 @@ connection when done:: >>> with NNTP('news.gmane.org') as n: ... n.group('gmane.comp.python.committers') ... - ('211 1754 1 1754 gmane.comp.python.committers', 1754, 1, 1754, 'gmane.comp.python.committers') + ('211 1755 1 1755 gmane.comp.python.committers', 1755, 1, 1755, 'gmane.comp.python.committers') >>> (Contributed by Giampaolo RodolĂ in :issue:`9795`) |