From 30574695067f948c2ee40d44c06d71e16c6b90f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Langa?= Date: Mon, 31 Dec 2012 02:18:20 +0100 Subject: [PATCH] Fixes issue #15803: incorrect `ConfigParser.items()` docstring --- Lib/configparser.py | 7 +++---- Misc/ACKS | 1 + 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Lib/configparser.py b/Lib/configparser.py index d148b886a21..06d594a4317 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 f9c75ab36fb..dc591dafe69 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