Home | Trees | Index | Help |
|
---|
Package docutils :: Module frontend :: Class ConfigParser |
|
ConfigParser
--+
|
ConfigParser
Method Summary | |
---|---|
Return a given section as a dictionary (empty if the section doesn't exist). | |
Transform '-' to '_' so the cmdline form of option names can be used. | |
read(self,
filenames,
option_parser)
| |
read_standard_files(self,
option_parser)
| |
validate_options(self,
filename,
option_parser)
| |
Inherited from ConfigParser | |
| |
Create a new section in the configuration. | |
| |
Get an option value for a given section. | |
| |
| |
| |
Check for the existence of a given option in a given section. | |
Indicate whether the named section is present in the configuration. | |
Return a list of option names for the given section name. | |
Like read() but the argument must be a file-like object. | |
Remove an option. | |
Remove a file section. | |
Return a list of section names, excluding [DEFAULT]... | |
Set an option. | |
Write an .ini-format representation of the configuration state. |
Class Variable Summary | |
---|---|
tuple |
standard_config_files = ('/etc/docutils.conf', './docuti...
|
dict |
validation = {'options': {'error_encoding': <function va...
|
Inherited from ConfigParser | |
SRE_Pattern |
OPTCRE = ([\]-\[\w_\.\*,\(\)\{\}]+)[ \t]*([:=])[ \t]*(.*...
|
SRE_Pattern |
SECTCRE = \[([^\]]+)\]
|
Method Details |
---|
get_section(self, section, raw=0, vars=None)Return a given section as a dictionary (empty if the section doesn't exist). All % interpolations are expanded in the return values, based on the
defaults passed into the constructor, unless the optional argument
The section DEFAULT is special. |
optionxform(self, optionstr)Transform '-' to '_' so the cmdline form of option names can be used.
|
Class Variable Details |
---|
standard_config_files
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Tue Jul 22 05:31:24 2003 | http://epydoc.sf.net |