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

Method __init__

numpy/core/tests/test_numeric.py:1576–1577  ·  view source on GitHub ↗
(self, iters)

Source from the content-addressed store, hash-verified

1574
1575 class ThrowsAfter:
1576 def __init__(self, iters):
1577 self.iters_left = iters
1578
1579 def __bool__(self):
1580 if self.iters_left == 0:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected