summaryrefslogtreecommitdiffstats
path: root/Lib/nntplib.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2007-02-09 20:13:25 (GMT)
committerGuido van Rossum <guido@python.org>2007-02-09 20:13:25 (GMT)
commit7131f84400d85d35d0323c262cc0926bef5a18cf (patch)
tree4cc23830260de4be99d1ba56b9b80b20edb02996 /Lib/nntplib.py
parent4502c804b9f15d26d7636d9c3b5f7faadb2f5362 (diff)
downloadcpython-7131f84400d85d35d0323c262cc0926bef5a18cf.zip
cpython-7131f84400d85d35d0323c262cc0926bef5a18cf.tar.gz
cpython-7131f84400d85d35d0323c262cc0926bef5a18cf.tar.bz2
Fix a bunch of doctests with the -d option of refactor.py.
We still have 27 failing tests (down from 39).
Diffstat (limited to 'Lib/nntplib.py')
-rw-r--r--Lib/nntplib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/nntplib.py b/Lib/nntplib.py
index 3f933f9..320653f 100644
--- a/Lib/nntplib.py
+++ b/Lib/nntplib.py
@@ -5,7 +5,7 @@ Example:
>>> from nntplib import NNTP
>>> s = NNTP('news')
>>> resp, count, first, last, name = s.group('comp.lang.python')
->>> print 'Group', name, 'has', count, 'articles, range', first, 'to', last
+>>> print('Group', name, 'has', count, 'articles, range', first, 'to', last)
Group comp.lang.python has 51 articles, range 5770 to 5821
>>> resp, subs = s.xhdr('subject', first + '-' + last)
>>> resp = s.quit()