Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(4)

Unified Diff: Doc/library/nntplib.rst

Issue 10639: reindent.py converts newlines to platform default
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Doc/library/multiprocessing.rst ('k') | Doc/library/os.path.rst » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
--- a/Doc/library/nntplib.rst Tue Jul 26 09:37:46 2011 +0300
+++ b/Doc/library/nntplib.rst Mon Jul 25 09:47:18 2011 -0400
@@ -75,10 +75,10 @@
connection when done. Here is a sample on how using it:
>>> from nntplib import NNTP
- >>> with NNTP('news.gmane.org') as n:
+ >>> with nntplib.NNTP('news.gmane.org') as n:
... n.group('gmane.comp.python.committers')
...
- ('211 1755 1 1755 gmane.comp.python.committers', 1755, 1, 1755, 'gmane.comp.python.committers')
+ ('211 1454 1 1454 gmane.comp.python.committers', '1454', '1', '1454', 'gmane.comp.python.committers')
>>>
@@ -407,7 +407,7 @@
Send an ``ARTICLE`` command, where *message_spec* has the same meaning as
for :meth:`stat`. Return a tuple ``(response, info)`` where *info*
- is a :class:`~collections.namedtuple` with three attributes *number*,
+ is a :class:`~collections.namedtuple` with three members *number*,
*message_id* and *lines* (in that order). *number* is the article number
in the group (or 0 if the information is not available), *message_id* the
message id as a string, and *lines* a list of lines (without terminating
« no previous file with comments | « Doc/library/multiprocessing.rst ('k') | Doc/library/os.path.rst » ('j') | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+