class documentation

Undocumented

Method __contains__ Undocumented
Method __copy__ Undocumented
Method __delitem__ Delete a variable from the current context
Method __eq__ Compare two contexts by comparing theirs 'dicts' attributes.
Method __getitem__ Get a variable's value, starting at the current context and going upward
Method __init__ Undocumented
Method __iter__ Undocumented
Method __repr__ Undocumented
Method __setitem__ Set a variable in the current context
Method flatten Return self.dicts as one dictionary.
Method get Undocumented
Method new Return a new context with the same properties, but with only the values given in 'values' stored.
Method pop Undocumented
Method push Undocumented
Method set_upward Set a variable in one of the higher contexts if it exists there, otherwise in the current context.
Method setdefault Undocumented
Instance Variable dicts Undocumented
Method _reset_dicts Undocumented
def __contains__(self, key): (source)

Undocumented

def __copy__(self): (source)

Undocumented

def __delitem__(self, key): (source)

Delete a variable from the current context

def __eq__(self, other): (source)

Compare two contexts by comparing theirs 'dicts' attributes.

def __getitem__(self, key): (source)

Get a variable's value, starting at the current context and going upward

def __init__(self, dict_=None): (source)

Undocumented

def __iter__(self): (source)

Undocumented

def __repr__(self): (source)

Undocumented

def __setitem__(self, key, value): (source)

Set a variable in the current context

def flatten(self): (source)

Return self.dicts as one dictionary.

def get(self, key, otherwise=None): (source)

Undocumented

def new(self, values=None): (source)

Return a new context with the same properties, but with only the values given in 'values' stored.

def pop(self): (source)

Undocumented

def push(self, *args, **kwargs): (source)

Undocumented

def set_upward(self, key, value): (source)

Set a variable in one of the higher contexts if it exists there, otherwise in the current context.

def setdefault(self, key, default=None): (source)

Undocumented

Undocumented

def _reset_dicts(self, value=None): (source)

Undocumented