Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheAlgorithms/Python
/ _run_operation
Function
_run_operation
data_structures/hashing/tests/test_hash_map.py:20–24 ·
view source on GitHub ↗
(obj, fun, *args)
Source
from the content-addressed store, hash-verified
18
19
20
def
_run_operation(obj, fun, *args):
21
try
:
22
return
fun(obj, *args), None
23
except
Exception
as
e:
24
return
None, e
25
26
27
_add_items = (
Callers
1
test_hash_map_is_the_same_as_dict
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected