]> granicus.if.org Git - python/commitdiff
ConfigParser.items() and SafeConfigParser.items() no longer return a
authorFred Drake <fdrake@acm.org>
Tue, 21 Oct 2003 16:50:55 +0000 (16:50 +0000)
committerFred Drake <fdrake@acm.org>
Tue, 21 Oct 2003 16:50:55 +0000 (16:50 +0000)
generator.  See SF bug #818861.

Doc/lib/libcfgparser.tex

index ad4bbb3d3b5ccb7f2516c3ef5075ee7d013933ab..0f6b14deebef59e4322504af61672258fd267edd 100644 (file)
@@ -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}