#NEWLINE# def __str__( self ) : #NEWLINE# #INDENT# basename = str ( self . __class__ ) #NEWLINE# classname = basename . split ( '.' ) [ ( - 1 ) ] . replace ( '>' , '' ) . replace ( "'" , '' ) #NEWLINE# return ( '<%s spos=%s pos=%s>' % ( basename , self . spos , self . pos ) )