1. python_mirrors
  2. cpython

Commits

Łukasz Langa  committed 850503a Draft

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

  • Participants
  • Parent commits d42bf4f
  • Branches 3.2

Comments (0)

Files changed (2)

File Lib/configparser.py

View file
         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.

File Misc/ACKS

View file
 Matias Torchinsky
 Sandro Tosi
 Richard Townsend
+Nathan Trapuzzano
 Laurence Tratt
 John Tromp
 Jason Trowbridge