(self)
return r
Returns a deep copy of this results object.
Returns a deep copy of this results object.
Returns a deep copy of this results object .
def copy(self):
        """Returns a deep copy of this results object.
        """

        # Shallow copy self to get attributes
        r = copy.copy(self)
        # Deep copies of docset and top_n in case they're modified
        r.docset = copy.deepcopy(self.docset)
        r.top_n = copy.deepcopy(self.top_n)
        return r
def copy ( self ) : # Shallow copy self to get attributes r = copy . copy ( self ) # Deep copies of docset and top_n in case they're modified r . docset = copy . deepcopy ( self . docset ) r . top_n = copy . deepcopy ( self . top_n ) return r