MCPcopy Index your code
hub / github.com/python/cpython / fetch_hmac_function

Method fetch_hmac_function

Lib/test/test_support.py:902–904  ·  view source on GitHub ↗
(self, name)

Source from the content-addressed store, hash-verified

900 return self.try_import_attribute(fullname)
901
902 def fetch_hmac_function(self, name):
903 target = hashlib_helper.get_hmac_item_info(name)
904 return target.import_member()
905
906 def check_openssl_hash(self, name, *, disabled=True):
907 """Check that OpenSSL HASH interface is enabled/disabled."""

Callers 1

check_builtin_hmacMethod · 0.95

Calls 1

import_memberMethod · 0.80

Tested by

no test coverage detected