Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ Dummy
Class
Dummy
numpy/core/tests/test_multiarray.py:9547–9547 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
9545
9546
# a plain object can't be weakref'd
9547
class
Dummy:
pass
9548
9549
# get a weak reference to an object within an array
9550
obj_arr = np.array(Dummy())
Callers
1
test_lifetime_on_error
Method · 0.70
Calls
no outgoing calls
Tested by
1
test_lifetime_on_error
Method · 0.56