#NEWLINE# def _bounds( self , method , predicate = None , tags = None ) : #NEWLINE# #INDENT# if ( ( predicate is None ) and ( tags is None ) ) : #NEWLINE# #INDENT# self . _put ( '%s()' , predicate ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( tags is None ) : #NEWLINE# #INDENT# self . _put ( '%s(%s)' , method , self . _format_input_bounds ( predicate ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . _put ( '%s(%s, %s)' , method , self . _format_input_bounds ( predicate ) , self . _format_input_bounds ( tags ) ) #NEWLINE# #UNINDENT# #UNINDENT# return self