Skip to content

Commit 7d7fb0f

Browse files
Use format specification mini-language to format string
1 parent d756626 commit 7d7fb0f

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
@@ -785,7 +785,7 @@ def __len__(self):
785785
return len(self._mutable_mapping)
786786

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

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

0 commit comments

Comments
 (0)