/ HappyDoc3-r3_1 / happydoclib / docset / docset_TAL / MapStack.py / MapStack
Implements a dictionary-like class to provide namespace and context stacking.
Based on the MultiMapping extension class found in Zope.
Methods
|
|
|
__getitem__
|
__getitem__ ( self, key )
|
|
pop
|
pop ( self )
Remove and return the top context.
|
|
__setitem__
|
__setitem__ (
self,
name,
value,
)
|
|
push
|
push ( self, newDict )
Add a new context to the stack.
|
|
has_get
|
has_get ( self, key )
|
|
__init__
|
__init__ ( self, *dicts )
Construct a new MapStack.
Pass some existing mappings to be pushed onto the stack.
|
|
|