5.17.2 ConfigParser Objects
The ConfigParser class extends some methods of the RawConfigParser interface, adding some optional arguments.
- Get an option value for the named section. All the "%" interpolations are expanded in the return values, based on the defaults passed into the constructor, as well as the options vars provided, unless the raw argument is true.
-
Return a list of
(name, value)
pairs for each option in the given section. Optional arguments have the same meaning as for the get() method. New in version 2.3.
See About this document... for information on suggesting changes.