summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 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`)