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

Method update

Lib/hmac.py:161–164  ·  view source on GitHub ↗

Feed data from msg into this hashing object.

(self, msg)

Source from the content-addressed store, hash-verified

159 return f"hmac-{self._inner.name}"
160
161 def update(self, msg):
162 """Feed data from msg into this hashing object."""
163 inst = self._hmac or self._inner
164 inst.update(msg)
165
166 def copy(self):
167 """Return a separate copy of this hashing object.

Callers 15

_init_oldMethod · 0.95
check_updateMethod · 0.95
test_equalityMethod · 0.95
runFunction · 0.45
runFunction · 0.45
update_wrapperFunction · 0.45
__init__Method · 0.45
__ior__Method · 0.45
__or__Method · 0.45
__ror__Method · 0.45
reload_environFunction · 0.45
attr_matchesMethod · 0.45

Calls

no outgoing calls

Tested by 5

check_updateMethod · 0.76
test_equalityMethod · 0.76
findMethod · 0.36
testfileFunction · 0.36
tearDownMethod · 0.36