Skip to content

Commit cf1d6b4

Browse files
authored
Update Lib/uuid.py
1 parent a6360d1 commit cf1d6b4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/uuid.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -900,8 +900,8 @@ def uuid7():
900900
timestamp_ms += 1
901901
counter, tail = _uuid7_get_counter_and_tail()
902902
else:
903-
# 32-bit random data
904903
_last_counter_v7_overflow = False
904+
# 32-bit random data
905905
tail = int.from_bytes(os.urandom(4))
906906

907907
unix_ts_ms = timestamp_ms & 0xffff_ffff_ffff

0 commit comments

Comments
 (0)