diff options
author | Fred Drake <fdrake@acm.org> | 2003-10-21 16:50:55 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2003-10-21 16:50:55 (GMT) |
commit | 86c60ed198ccf29c66f1593c62fe67755f431ea0 (patch) | |
tree | 44e4dc933741d169a97da790e52f00a256af5445 | |
parent | 8c4da53afedd7b7fa49f7209582b2f61d80f457e (diff) | |
download | cpython-86c60ed198ccf29c66f1593c62fe67755f431ea0.zip cpython-86c60ed198ccf29c66f1593c62fe67755f431ea0.tar.gz cpython-86c60ed198ccf29c66f1593c62fe67755f431ea0.tar.bz2 |
ConfigParser.items() and SafeConfigParser.items() no longer return a
generator. See SF bug #818861.
-rw-r--r-- | Doc/lib/libcfgparser.tex | 6 |
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} |