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

Method _

numpy/core/tests/test_overrides.py:316–317  ·  view source on GitHub ↗
(array)

Source from the content-addressed store, hash-verified

314
315 @implements(dispatched_one_arg)
316 def _(array):
317 return 'myarray'
318
319 assert_equal(dispatched_one_arg(1), 'original')
320 assert_equal(dispatched_one_arg(MyArray()), 'myarray')

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected