Skip to content

Commit 354c341

Browse files
committed
Remove redundant sort from __repr__
1 parent c324fc3 commit 354c341

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sonyflake_turbo/pure.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def __call__(self, n: int) -> list[int]:
101101

102102
def __repr__(self) -> str:
103103
cls = self.__class__.__name__
104-
machine_ids = ", ".join(map(str, sorted(self._machine_ids)))
104+
machine_ids = ", ".join(map(str, self._machine_ids))
105105
return f"{cls}({machine_ids}, start_time={self._start_time // 100})"
106106

107107
@overload

0 commit comments

Comments
 (0)