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

Method __repr__

numpy/core/tests/test_arrayprint.py:458–459  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

456
457 class MultiLineLong:
458 def __repr__(self):
459 return "Line 1\nLooooooooooongestLine2\nLongerLine 3"
460
461 a = np.array([[None, MultiLineLong()], [MultiLineLong(), None]])
462 assert_equal(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected