#NEWLINE# def set_bindings( self , bindings , type = 'where' ) : #NEWLINE# #INDENT# if ( type not in self . _bindings ) : #NEWLINE# #INDENT# raise ArgumentError ( ( 'Invalid binding type: %s' % type ) ) #NEWLINE# #UNINDENT# self . _bindings [ type ] = bindings #NEWLINE# return type