Skip to content

Commit b67adc9

Browse files
Use format specification mini-language to format string (zarr-developers#1558)
Co-authored-by: Joe Hamman <[email protected]>
1 parent f3fa531 commit b67adc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zarr/storage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -784,7 +784,7 @@ def __len__(self):
784784
return len(self._mutable_mapping)
785785

786786
def __repr__(self):
787-
return f"<{self.__class__.__name__}: \n{repr(self._mutable_mapping)}\n at {hex(id(self))}>"
787+
return f"<{self.__class__.__name__}: \n{self._mutable_mapping!r}\n at {id(self):#x}>"
788788

789789
def __eq__(self, other):
790790
if isinstance(other, KVStore):

0 commit comments

Comments
 (0)