Methods
|
|
|
|
__eq__
|
__eq__ ( self, other )
|
|
__init__
|
__init__ ( self, defaults=None )
|
|
__ne__
|
__ne__ ( self, other )
|
|
__str__
|
__str__ ( self )
|
|
_update
|
_update (
self,
dict,
mode,
)
Exceptions
|
|
ValueError, "invalid update mode: %r" % mode
|
|
|
_update_careful
|
_update_careful ( self, dict )
Update the option values from an arbitrary dictionary, but only
use keys from dict that already have a corresponding attribute
in self. Any keys in dict without a corresponding attribute
are silently ignored.
|
|
_update_loose
|
_update_loose ( self, dict )
Update the option values from an arbitrary dictionary,
using all keys from the dictionary regardless of whether
they have a corresponding attribute in self or not.
|
|
ensure_value
|
ensure_value (
self,
attr,
value,
)
|
|
read_file
|
read_file (
self,
filename,
mode="careful",
)
|
|
read_module
|
read_module (
self,
modname,
mode="careful",
)
|
|