Module ConfigParser :: Class ConfigParser
[show private | hide private]
[frames | no frames]

Class ConfigParser

RawConfigParser --+
                  |
                 ConfigParser

Known Subclasses:
ConfigParser, ConfigParserCaseSensitive, ConfigParserCaseSensitive

Method Summary
  get(self, section, option, raw, vars)
Get an option value for a given section.
  items(self, section, raw, vars)
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.
Overrides:
ConfigParser.RawConfigParser.get

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.
Overrides:
ConfigParser.RawConfigParser.items

Generated by Epydoc 2.0 on Mon Nov 10 15:08:07 2003 http://epydoc.sf.net