class documentation

class VariableSet:

View In Hierarchy

Container object for the variables defined in a config file.

VariableSet can be used as a plain dictionary, with the variable names as keys.

Parameters

d : dict
Dict of items in the "variables" section of the configuration file.
Method __getitem__ Undocumented
Method __init__ Undocumented
Method __setitem__ Undocumented
Method ​_init​_parse Undocumented
Method ​_init​_parse​_var Undocumented
Method interpolate Undocumented
Method variables Return the list of variable names.
Instance Variable ​_raw​_data Undocumented
Instance Variable ​_re Undocumented
Instance Variable ​_re​_sub Undocumented
def __getitem__(self, name):

Undocumented

def __init__(self, d):

Undocumented

def __setitem__(self, name, value):

Undocumented

def _init_parse(self):

Undocumented

def _init_parse_var(self, name, value):

Undocumented

def interpolate(self, value):

Undocumented

def variables(self):

Return the list of variable names.

Parameters

None

Returns

names : list of str
The names of all variables in the VariableSet instance.
_raw_data =

Undocumented

_re: dict =

Undocumented

_re_sub: dict =

Undocumented