diff options
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) |
commit | 30574695067f948c2ee40d44c06d71e16c6b90f9 (patch) | |
tree | 7421b41492fc6adda721aad6eb5a6c437d79c835 /Lib/configparser.py | |
parent | 88339c44f8363d48d6a76be8339d256ea1da437a (diff) | |
download | cpython-30574695067f948c2ee40d44c06d71e16c6b90f9.zip cpython-30574695067f948c2ee40d44c06d71e16c6b90f9.tar.gz cpython-30574695067f948c2ee40d44c06d71e16c6b90f9.tar.bz2 |
Fixes issue #15803: incorrect `ConfigParser.items()` docstring
Diffstat (limited to 'Lib/configparser.py')
-rw-r--r-- | Lib/configparser.py | 7 |
1 files changed, 3 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. |