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

Method __getitem__

numpy/core/tests/test_indexing.py:507–508  ·  view source on GitHub ↗
(self, item)

Source from the content-addressed store, hash-verified

505 return 1
506
507 def __getitem__(self, item):
508 raise IndexError('Not possible')
509
510 arr = np.arange(10)
511 assert_array_equal(arr[SequenceLike()], arr[SequenceLike(),])

Callers 1

test_basicMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected