#NEWLINE# def __new__( cls , function , limits ) : #NEWLINE# #INDENT# fun = sympify ( function ) #NEWLINE# if ( ( not is_sequence ( fun ) ) or ( len ( fun ) != 2 ) ) : #NEWLINE# #INDENT# raise ValueError ( ( 'Function argument should be (x(t), y(t)) but got %s' % str ( function ) ) ) #NEWLINE# #UNINDENT# if ( ( not is_sequence ( limits ) ) or ( len ( limits ) != 3 ) ) : #NEWLINE# #INDENT# raise ValueError ( ( 'Limit argument should be (t, tmin, tmax) but got %s' % str ( limits ) ) ) #NEWLINE# #UNINDENT# return GeometryEntity . __new__ ( cls , Tuple ( * fun ) , Tuple ( * cls ) )