Home | Trees | Index | Help |
|
---|
Module ConfigParser :: Class ConfigParser |
|
RawConfigParser
--+
|
ConfigParser
ConfigParser
,
ConfigParserCaseSensitive
,
ConfigParserCaseSensitive
Method Summary | |
---|---|
Get an option value for a given section. | |
Return a list of tuples with (name, value) for each option in the section. |
Method Details |
---|
get(self, section, option, raw=False, vars=None)Get an option value for a given section. All % interpolations are expanded in the return values, based on the defaults passed into the constructor, unless the optional argument `raw' is true. Additional substitutions may be provided using the `vars' argument, which must be a dictionary whose contents overrides any pre-existing defaults. The section DEFAULT is special.
|
items(self, section, raw=False, vars=None)Return a list of tuples with (name, value) for each option in the section. All % interpolations are expanded in the return values, based on the defaults passed into the constructor, unless the optional argument `raw' is true. Additional substitutions may be provided using the `vars' argument, which must be a dictionary whose contents overrides any pre-existing defaults. The section DEFAULT is special.
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Mon Nov 10 15:08:07 2003 | http://epydoc.sf.net |