MCPcopy Create free account
hub / github.com/bterwijn/memory_graph / fun3

Function fun3

images/exception_example.py:3–6  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1import memory_graph as mg
2mg.config.type_to_string[BaseException] = lambda data: mg.utils.prep_exception_str((mg.utils.exception_to_string_no_path(data)))
3def fun3():
4 d = [0] * 3
5 for i in range(4):
6 d[i] = i # throws IndexError when i = 3
7
8def fun2():
9 fun3()

Callers 1

fun2Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected