HappyDoc Generated Documentation Class: MapStack

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 )
Exceptions   

KeyError( key )

  dump 
dump ( self )
  pop 
pop ( self )

Remove and return the top context.

  __setitem__ 
__setitem__ (
        self,
        name,
        value,
        )
Exceptions   

ValueError( 'Stack empty' )

  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.


This document was automatically generated Tue Dec 5 08:30:35 2006 by HappyDoc version 3.1