parameters: (self)
return_statement: return clone
docstring: Return a copy ("clone") of the hash object.
  
          The copy will have the same internal state as the original hash
          object.
          This can be used to efficiently compute the digests of strings that
          share a common initial substring.
  
          :return: A hash object of the same type
docstring_summary: Return a copy ("clone") of the hash object.
docstring_tokens: Return a copy ( clone ) of the hash object .
function: def copy(self):
          """Return a copy ("clone") of the hash object.
  
          The copy will have the same internal state as the original hash
          object.
          This can be used to efficiently compute the digests of strings that
          share a common initial substring.
  
          :return: A hash object of the same type
          """
  
          clone = SHA1Hash()
          result = _raw_sha1_lib.SHA1_copy(self._state.get(),
                                           clone._state.get())
          if result:
              raise ValueError("Error %d while copying SHA1" % result)
          return clone
function_tokens: def copy ( self ) : clone = SHA1Hash ( ) result = _raw_sha1_lib . SHA1_copy ( self . _state . get ( ) , clone . _state . get ( ) ) if result : raise ValueError ( "Error %d while copying SHA1" % result ) return clone