You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add str and repr for simple array. Currently, it only prints the memory address.
>>> import _modmesh as mm
>>> a = mm.SimpleArray(10, "int32")
>>> repr(a)
'<_modmesh.SimpleArray object at 0x7fb28deae270>'
>>> print(a)
<_modmesh.SimpleArray object at 0x7fb28deae270>
The text was updated successfully, but these errors were encountered:
The two string representations of arrays need careful design. Once made available, the results will be widely used in test cases and go beyond our control.
Add str and repr for simple array. Currently, it only prints the memory address.
The text was updated successfully, but these errors were encountered: