class documentation
class ConfigParser(RawConfigParser): (source)
Constructor: ConfigParser(*args, **kwargs)
Undocumented
| Method | __init__ |
Undocumented |
| Method | get |
Return a given section as a dictionary (empty if the section doesn't exist). |
| Method | handle |
Undocumented |
| Method | optionxform |
Transform '-' to '_' so the cmdline form of option names can be used. |
| Method | read |
Undocumented |
| Method | validate |
Call the validator function and implement overrides on all applicable settings. |
| Class Variable | not |
Undocumented |
| Class Variable | old |
{old setting: (new section, new setting)} mapping, used by handle_old_config, to convert settings from the old [options] section. |
| Class Variable | old |
Undocumented |
| Instance Variable | _files |
List of paths of configuration files read. |
| Instance Variable | _stderr |
Wrapper around sys.stderr catching en-/decoding errors |
{old setting: (new section, new setting)} mapping, used by
handle_old_config, to convert settings from the old [options] section.