Fixes issue #15803: incorrect `ConfigParser.items()` docstring

This commit is contained in:
Łukasz Langa 2012-12-31 02:18:20 +01:00
parent 88339c44f8
commit 3057469506
2 changed files with 4 additions and 4 deletions

View File

@ -99,10 +99,9 @@ ConfigParser -- responsible for parsing a list of
yes, on for True). Returns False or True. yes, on for True). Returns False or True.
items(section=_UNSET, raw=False, vars=None) items(section=_UNSET, raw=False, vars=None)
If section is given, return a list of tuples with (section_name, If section is given, return a list of tuples with (name, value) for
section_proxy) for each section, including DEFAULTSECT. Otherwise, each option in the section. Otherwise, return a list of tuples with
return a list of tuples with (name, value) for each option (section_name, section_proxy) for each section, including DEFAULTSECT.
in the section.
remove_section(section) remove_section(section)
Remove the given file section and all its options. Remove the given file section and all its options.

View File

@ -1078,6 +1078,7 @@ Erik Tollerud
Matias Torchinsky Matias Torchinsky
Sandro Tosi Sandro Tosi
Richard Townsend Richard Townsend
Nathan Trapuzzano
Laurence Tratt Laurence Tratt
John Tromp John Tromp
Jason Trowbridge Jason Trowbridge