summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libcfgparser.tex
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2003-10-21 16:50:55 (GMT)
committerFred Drake <fdrake@acm.org>2003-10-21 16:50:55 (GMT)
commit86c60ed198ccf29c66f1593c62fe67755f431ea0 (patch)
tree44e4dc933741d169a97da790e52f00a256af5445 /Doc/lib/libcfgparser.tex
parent8c4da53afedd7b7fa49f7209582b2f61d80f457e (diff)
downloadcpython-86c60ed198ccf29c66f1593c62fe67755f431ea0.zip
cpython-86c60ed198ccf29c66f1593c62fe67755f431ea0.tar.gz
cpython-86c60ed198ccf29c66f1593c62fe67755f431ea0.tar.bz2
ConfigParser.items() and SafeConfigParser.items() no longer return a
generator. See SF bug #818861.
Diffstat (limited to 'Doc/lib/libcfgparser.tex')
-rw-r--r--Doc/lib/libcfgparser.tex6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/lib/libcfgparser.tex b/Doc/lib/libcfgparser.tex
index ad4bbb3..0f6b14d 100644
--- a/Doc/lib/libcfgparser.tex
+++ b/Doc/lib/libcfgparser.tex
@@ -279,8 +279,8 @@ on the defaults passed into the constructor, as well as the options
\end{methoddesc}
\begin{methoddesc}{items}{section\optional{, raw\optional{, vars}}}
-Create a generator which will return a tuple \code{(name, value)} for
-each option in the given \var{section}. Optional arguments have the
-same meaning as for the \code{get()} method.
+Return a list of \code{(\var{name}, \var{value})} pairs for each
+option in the given \var{section}. Optional arguments have the
+same meaning as for the \method{get()} method.
\versionadded{2.3}
\end{methoddesc}