From: Fred Drake Date: Tue, 21 Oct 2003 16:50:55 +0000 (+0000) Subject: ConfigParser.items() and SafeConfigParser.items() no longer return a X-Git-Tag: v2.4a1~1401 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=86c60ed198ccf29c66f1593c62fe67755f431ea0;p=python 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 ad4bbb3d3b..0f6b14deeb 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}