comparison configmix/config.py @ 18:a04fa81e10ae

Doc
author Franz Glasner <f.glasner@feldmann-mg.com>
date Thu, 10 Mar 2016 10:45:09 +0100
parents 94b5e94fae44
children c77cb6bc8eeb
comparison
equal deleted inserted replaced
17:94b5e94fae44 18:a04fa81e10ae
38 else: 38 else:
39 return v 39 return v
40 40
41 41
42 class Configuration(_AttributeDict): 42 class Configuration(_AttributeDict):
43
44 """The configuration dictionary with attribute support or
45 variable substitution.
46
47 .. note:: When retriving by attribute names variables will *not*
48 substituted.
49
50 """
43 51
44 def getvar(self, varname, default=_MARKER): 52 def getvar(self, varname, default=_MARKER):
45 """Get a variable of the form ``[[ns1.]ns2.]name`` - including 53 """Get a variable of the form ``[[ns1.]ns2.]name`` - including
46 variables from other namespaces. 54 variables from other namespaces.
47 55