Documentation
When the items method of an instance of configparser.ConfigParser is called without a section argument, the implementation delegates to the items method of the superclass directly to return a typical view of dictionary items; that is, a special set-like iterator over tuples of the form (section_name, section_proxy). This is as opposed to the documented behaviour, which states a list is returned for both overloads (regardless if section is passed).
Documentation
When the
itemsmethod of an instance ofconfigparser.ConfigParseris called without asectionargument, the implementation delegates to theitemsmethod of the superclass directly to return a typical view of dictionary items; that is, a special set-like iterator over tuples of the form(section_name, section_proxy). This is as opposed to the documented behaviour, which states a list is returned for both overloads (regardless ifsectionis passed).