summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorŁukasz Langa <lukasz@langa.pl>2012-12-31 01:18:20 (GMT)
committerŁukasz Langa <lukasz@langa.pl>2012-12-31 01:18:20 (GMT)
commit30574695067f948c2ee40d44c06d71e16c6b90f9 (patch)
tree7421b41492fc6adda721aad6eb5a6c437d79c835
parent88339c44f8363d48d6a76be8339d256ea1da437a (diff)
downloadcpython-30574695067f948c2ee40d44c06d71e16c6b90f9.zip
cpython-30574695067f948c2ee40d44c06d71e16c6b90f9.tar.gz
cpython-30574695067f948c2ee40d44c06d71e16c6b90f9.tar.bz2
Fixes issue #15803: incorrect `ConfigParser.items()` docstring
-rw-r--r--Lib/configparser.py7
-rw-r--r--Misc/ACKS1
2 files changed, 4 insertions, 4 deletions
diff --git a/Lib/configparser.py b/Lib/configparser.py
index d148b88..06d594a 100644
--- a/Lib/configparser.py
+++ b/Lib/configparser.py
@@ -99,10 +99,9 @@ ConfigParser -- responsible for parsing a list of
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
index f9c75ab..dc591da 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -1078,6 +1078,7 @@ Erik Tollerud
Matias Torchinsky
Sandro Tosi
Richard Townsend
+Nathan Trapuzzano
Laurence Tratt
John Tromp
Jason Trowbridge