summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libnntplib.tex
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2004-07-30 16:08:49 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2004-07-30 16:08:49 (GMT)
commit8ddb638e43d5c6bf059194460a95a0a4bd85bf9d (patch)
tree21f49a03305aa69d6ef168232be52c023b2937be /Doc/lib/libnntplib.tex
parent1dd04a02e03e1765d9f2096d979de92927337dcb (diff)
downloadcpython-8ddb638e43d5c6bf059194460a95a0a4bd85bf9d.zip
cpython-8ddb638e43d5c6bf059194460a95a0a4bd85bf9d.tar.gz
cpython-8ddb638e43d5c6bf059194460a95a0a4bd85bf9d.tar.bz2
Add closing methoddesc. Add versionadded. Rewrap.
Diffstat (limited to 'Doc/lib/libnntplib.tex')
-rw-r--r--Doc/lib/libnntplib.tex8
1 files changed, 6 insertions, 2 deletions
diff --git a/Doc/lib/libnntplib.tex b/Doc/lib/libnntplib.tex
index 9b9217b..a2161ce 100644
--- a/Doc/lib/libnntplib.tex
+++ b/Doc/lib/libnntplib.tex
@@ -175,6 +175,7 @@ then the method will open a file object with that name, write to it
then close it. If \var{file} is a file object, then it will start
calling \method{write()} on it to store the lines of the command output.
If \var{file} is supplied, then the returned \var{list} is an empty list.
+\end{methoddesc}
\begin{methoddesc}{descriptions}{grouppattern}
Send a \samp{LIST NEWSGROUPS} command, where \var{grouppattern} is a wildmat
@@ -182,16 +183,19 @@ string as specified in RFC2980 (it's essentially the same as DOS or UNIX
shell wildcard strings). Return a pair \code{(\var{response},
\var{list})}, where \var{list} is a list of tuples containing
\code{(\var{name}, \var{title})}.
+
+\versionadded{2.4}
\end{methoddesc}
\begin{methoddesc}{description}{group}
Get a description for a single group \var{group}. If more than one group
-matches (if 'group' is a real wildmat string), return the first match. If no group
-matches, return an empty string.
+matches (if 'group' is a real wildmat string), return the first match.
+If no group matches, return an empty string.
This elides the response code from the server. If the response code is
needed, use \method{descriptions()}.
+\versionadded{2.4}
\end{methoddesc}
\begin{methoddesc}{group}{name}