Trees
Indices
Help
Frets On Fire
Module Config
:: Class Config
[
hide private
]
[
frames
] |
no frames
]
Class Config
source code
A configuration registry.
Instance Methods
[
hide private
]
__init__
(
self
,
prototype
,
fileName
=
'
'
)
source code
get
(
self
,
section
,
option
)
Read a configuration key.
source code
set
(
self
,
section
,
option
,
value
)
Set the value of a configuration key.
source code
Method Details
[
hide private
]
__init__
(
self
,
prototype
,
fileName
=
'
'
)
(Constructor)
source code
Parameters:
prototype
- The configuration protype mapping
fileName
- The file that holds this configuration registry
get
(
self
,
section
,
option
)
source code
Read a configuration key.
Parameters:
section
- Section name
option
- Option name
Returns:
Key value
set
(
self
,
section
,
option
,
value
)
source code
Set the value of a configuration key.
Parameters:
section
- Section name
option
- Option name
value
- Value name
Trees
Indices
Help
Frets On Fire
Generated by Epydoc 3.0beta1 on Sat Oct 20 15:25:04 2007
http://epydoc.sourceforge.net