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

Method __lt__

numpy/core/tests/test_multiarray.py:2204–2205  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

2202 # should not segfault.
2203 class Boom:
2204 def __lt__(self, other):
2205 return True
2206
2207 a = np.array([Boom()] * 100, dtype=object)
2208 for kind in self.sort_kinds:

Calls

no outgoing calls

Tested by

no test coverage detected