[Python-checkins] cpython (3.2): Fixes issue #15803: incorrect `ConfigParser.items()` docstring
lukasz.langa
python-checkins at python.org
Mon Dec 31 02:29:42 CET 2012
http://hg.python.org/cpython/rev/850503a117a9
changeset: 81161:850503a117a9
branch: 3.2
parent: 81156:d42bf4faf3d1
user: Łukasz Langa <lukasz at langa.pl>
date: Mon Dec 31 02:18:20 2012 +0100
summary:
Fixes issue #15803: incorrect `ConfigParser.items()` docstring
files:
Lib/configparser.py | 7 +++----
Misc/ACKS | 1 +
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/Lib/configparser.py b/Lib/configparser.py
--- a/Lib/configparser.py
+++ b/Lib/configparser.py
@@ -99,10 +99,9 @@
yes, on for True). Returns False or True.
items(section=_UNSET, raw=False, vars=None)
- If section is given, return a list of tuples with (section_name,
- section_proxy) for each section, including DEFAULTSECT. Otherwise,
- return a list of tuples with (name, value) for each option
- in the section.
+ If section is given, return a list of tuples with (name, value) for
+ each option in the section. Otherwise, return a list of tuples with
+ (section_name, section_proxy) for each section, including DEFAULTSECT.
remove_section(section)
Remove the given file section and all its options.
diff --git a/Misc/ACKS b/Misc/ACKS
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -1078,6 +1078,7 @@
Matias Torchinsky
Sandro Tosi
Richard Townsend
+Nathan Trapuzzano
Laurence Tratt
John Tromp
Jason Trowbridge
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list