Skip to content

Commit 4140527

Browse files
committed
Place TODO for repr
1 parent a4c7ac9 commit 4140527

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

arrayfire/array_api/_array_object.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,9 @@ def __str__(self) -> str: # FIXME
131131
return _metadata_string(self.dtype) + _array_as_str(self)
132132

133133
def __repr__(self) -> str: # FIXME
134-
return _metadata_string(self.dtype, self.shape)
134+
# return _metadata_string(self.dtype, self.shape)
135+
# TODO change the look of array representation. E.g., like np.array
136+
return _array_as_str(self)
135137

136138
def __len__(self) -> int:
137139
return self.shape[0] if self.shape else 0 # type: ignore[return-value]

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy