From 3c14b4ebe789149caf929cfdd92f486c08de4a37 Mon Sep 17 00:00:00 2001 From: Ezio Melotti Date: Wed, 13 Jul 2011 11:44:44 +0300 Subject: [PATCH] #12547: Fix import and output in nntplib example. Initial patch by July Tikhonov. --- Doc/whatsnew/3.3.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/whatsnew/3.3.rst b/Doc/whatsnew/3.3.rst index 267de3a9f7c..0498ca8505d 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`)