We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ef04b9 commit 943d13eCopy full SHA for 943d13e
Lib/uuid.py
@@ -757,7 +757,7 @@ def uuid6(node=None, clock_seq=None):
757
import random
758
clock_seq = random.getrandbits(14) # instead of stable storage
759
time_hi_and_mid = (timestamp >> 12) & 0xffffffffffff
760
- time_ver_and_lo = timestamp & 0xffff
+ time_ver_and_lo = timestamp & 0x0fff
761
var_and_clock_s = clock_seq & 0x3fff
762
if node is None:
763
node = getnode()
0 commit comments