mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Fixes issue #15803: incorrect ConfigParser.items()
docstring
This commit is contained in:
parent
88339c44f8
commit
3057469506
2 changed files with 4 additions and 4 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue