#NEWLINE# def __getitem__( self , key ) : #NEWLINE# #INDENT# state = o . _dict [ key ] #NEWLINE# o = state . obj ( ) #NEWLINE# if ( o is None ) : #NEWLINE# #INDENT# raise KeyError ( key ) #NEWLINE# #UNINDENT# return o