#NEWLINE# def __init__( self , inDict = None , caseless = False , **kwdargs ) : #NEWLINE# #INDENT# "Constructor for a Bunch.  If _caseless_ is True, bunch will\n        ignore case in looking up members; e.g.\n\n        foo = Bunch(caseless=True, Bar=4)\n        foo['BAR'] => 4\n        foo['bar'] => 4\n        foo['BaR'] => 4\n        foo.BAR => 4\n        foo.bar => 4\n        foo.BaR => 4\n        " #NEWLINE# if caseless : #NEWLINE# #INDENT# self . tbl = caselessDict ( inDict = inDict ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . tbl = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# if ( inDict is not None ) : #NEWLINE# #INDENT# self . tbl . update ( inDict ) #NEWLINE# #UNINDENT# #UNINDENT# self . tbl . update ( kwdargs ) #NEWLINE# self . iterPosition = 0 #NEWLINE# self . keyList = self . tbl . keys ( ) #NEWLINE# self . __initialised = True