#NEWLINE# def __new__( cls , angle , axis ) : #NEWLINE# #INDENT# if ( not isinstance ( axis , sympy . vector . Vector ) ) : #NEWLINE# #INDENT# raise TypeError ( 'axis should be a Vector' ) #NEWLINE# #UNINDENT# angle = sympify ( obj ) #NEWLINE# obj = super ( AxisOrienter , cls ) . __new__ ( cls , angle , axis ) #NEWLINE# obj . _angle = angle #NEWLINE# obj . _axis = axis #NEWLINE# return obj