MCPcopy Create free account
hub / github.com/numpy/numpy / recursionlimit

Function recursionlimit

numpy/core/tests/test_scalarmath.py:869–875  ·  view source on GitHub ↗
(n)

Source from the content-addressed store, hash-verified

867
868@contextlib.contextmanager
869def recursionlimit(n):
870 o = sys.getrecursionlimit()
871 try:
872 sys.setrecursionlimit(n)
873 yield
874 finally:
875 sys.setrecursionlimit(o)
876
877
878@given(sampled_from(objecty_things),

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected