summaryrefslogtreecommitdiffstats
path: root/Doc/libnntplib.tex
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-04-10 11:34:00 (GMT)
committerGuido van Rossum <guido@python.org>1995-04-10 11:34:00 (GMT)
commit96628a90c47f15f357b31d665a4222d175e17b27 (patch)
tree74d6ef8384b587b2526d7c24adbf2f7d4e77bc93 /Doc/libnntplib.tex
parenteae3f73b1c86fecfcb3d2b5599a5efd5ddf87306 (diff)
downloadcpython-96628a90c47f15f357b31d665a4222d175e17b27.zip
cpython-96628a90c47f15f357b31d665a4222d175e17b27.tar.gz
cpython-96628a90c47f15f357b31d665a4222d175e17b27.tar.bz2
typos, layout and other small things
Diffstat (limited to 'Doc/libnntplib.tex')
-rw-r--r--Doc/libnntplib.tex2
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/libnntplib.tex b/Doc/libnntplib.tex
index d2db0d5..e17ea8b 100644
--- a/Doc/libnntplib.tex
+++ b/Doc/libnntplib.tex
@@ -12,6 +12,7 @@ Here are two small examples of how it can be used. To list some
statistics about a newsgroup and print the subjects of the last 10
articles:
+\small{
\begin{verbatim}
>>> s = NNTP('news.cwi.nl')
>>> resp, count, first, last, name = s.group('comp.lang.python')
@@ -34,6 +35,7 @@ Group comp.lang.python has 59 articles, range 3742 to 3803
'205 news.cwi.nl closing connection. Goodbye.'
>>>
\end{verbatim}
+}
To post an article from a file (this assumes that the article has
valid headers):