summaryrefslogtreecommitdiffstats
path: root/Doc/libnntplib.tex
diff options
context:
space:
mode:
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):