class_docstr: RFC 2104 HMAC class.  Also complies with RFC 4231.
  
  This supports the API for Cryptographic Hash Functions (PEP 247).
docstr: Return a separate copy of this hashing object.
  
  An update to this copy won't affect the original object.
docstr_tok: ["Return","a","separate","copy","of","this","hashing","object",".","An","update","to","this","copy","wo","n't","affect","the","original","object","."]
code: def copy(self):
      """Return a separate copy of this hashing object.
  
      An update to this copy won't affect the original object.
      """
      # Call __new__ directly to avoid the expensive __init__.
      other = self.__class__.__new__(self.__class__)
      other.digest_size = self.digest_size
      if self._hmac:
          other._hmac = self._hmac.copy()
          other._inner = other._outer = None
      else:
          other._hmac = None
          other._inner = self._inner.copy()
          other._outer = self._outer.copy()
      return other
  
file_path: cpython/Lib/hmac.py
imports: import warnings
  import hashlib
label_desc: Use image node_id 6 for calling the HMAC obj's underlying member method code with example usage: obj.copy() and returns: other