Trees | Index | Help |
|
---|
Module Config |
|
Classes | |
---|---|
Config |
A configuration registry. |
Option |
A prototype configuration key. |
Function Summary | |
---|---|
Define a configuration key. | |
Read the value of a global configuration key. | |
Load a configuration with the default prototype | |
Write the value of a global configuration key. |
Variable Summary | |
---|---|
NoneType |
config = None |
str |
encoding = 'iso-8859-1'
|
dict |
prototype = {'engine': {'tickrate': <Config.Option insta...
|
Function Details |
---|
define(section, option, type, default=None, text=None, options=None, prototype={'engine': {'tickrate': <Config.Option instance at 0x41ce...)Define a configuration key.
|
get(section, option)Read the value of a global configuration key.
|
load(fileName=None, setAsDefault=False)Load a configuration with the default prototype |
set(section, option, value)Write the value of a global configuration key.
|
Variable Details |
---|
config
|
encoding
|
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Thu Nov 23 23:40:42 2006 | http://epydoc.sf.net |