( self )
return ret
Returns a new copy of a C{ParseResults} object.
Returns a new copy of a C{ParseResults} object.
Returns a new copy of a C { ParseResults } object .
def copy( self ):
        """
        Returns a new copy of a C{ParseResults} object.
        """
        ret = ParseResults( self.__toklist )
        ret.__tokdict = self.__tokdict.copy()
        ret.__parent = self.__parent
        ret.__accumNames.update( self.__accumNames )
        ret.__name = self.__name
        return ret
def copy ( self ) : ret = ParseResults ( self . __toklist ) ret . __tokdict = self . __tokdict . copy ( ) ret . __parent = self . __parent ret . __accumNames . update ( self . __accumNames ) ret . __name = self . __name return ret