From: Fred Drake Date: Tue, 21 Oct 2003 16:51:40 +0000 (+0000) Subject: ConfigParser.items() and SafeConfigParser.items() no longer return a X-Git-Tag: v2.3.3c1~122 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=133b0c8e8ea43b931b38de266c2d0e3bbacda744;p=thirdparty%2FPython%2Fcpython.git ConfigParser.items() and SafeConfigParser.items() no longer return a generator. See SF bug #818861. --- diff --git a/Doc/lib/libcfgparser.tex b/Doc/lib/libcfgparser.tex index ad4bbb3d3b5c..0f6b14deebef 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}