Package lepl :: Package support :: Module state :: Class State
[hide private]
[frames] | no frames]

Class State

source code

A thread local map from key (typically calling class) to value. The hash attribute is updated on each mutation and cached for rapid access.
Instance Methods [hide private]
Do not call directly - use the singleton.
source code
Calculate the hash for the current dict.
source code
__getitem__(self, key) source code
get(self, key, default=None)
As for dict (lookup with default).
source code
__setitem__(self, key, value) source code
__delitem__(self, key) source code
__hash__(self) source code
Class Methods [hide private]
Get a singleton instance.
source code