#NEWLINE# @ classmethod #NEWLINE# def _new( cls , poly , index ) : #NEWLINE# #INDENT# 'Construct new ``CRootOf`` object from raw data. ' #NEWLINE# obj = Expr . __new__ ( cls ) #NEWLINE# obj . poly = PurePoly ( poly ) #NEWLINE# obj . index = index #NEWLINE# try : #NEWLINE# #INDENT# _reals_cache [ cls . poly ] = _reals_cache [ poly ] #NEWLINE# _complexes_cache [ obj . poly ] = _complexes_cache [ poly ] #NEWLINE# #UNINDENT# except KeyError : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# return obj