Skip to content

Commit 295d82d

Browse files
committed
fixup some comments
1 parent 8344e64 commit 295d82d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Lib/uuid.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
r"""UUID objects (universally unique identifiers) according to RFC 4122.
22
33
This module provides immutable UUID objects (class UUID) and the functions
4-
uuid1(), uuid3(), uuid4(), uuid5() for generating version 1 to 8 UUIDs as
5-
specified in RFC 4122 (superseeded by RFC 9562 but will still be referred
6-
to as RFC 4122 in the future for compatibility purposes).
4+
uuid1(), uuid3(), uuid4(), uuid5(), uuid6(), uuid7(), and uuid8() for
5+
generating version 1 to 8 UUIDs as specified in RFC 4122 (superseeded
6+
by RFC 9562 but still referred to as RFC 4122 for compatibility purposes).
77
88
If all you want is a unique ID, you should probably call uuid1() or uuid4().
99
Note that uuid1() may compromise privacy since it creates a UUID containing
@@ -217,7 +217,7 @@ def __init__(self, hex=None, bytes=None, bytes_le=None, fields=None,
217217
if version is not None:
218218
if not 1 <= version <= 8:
219219
raise ValueError('illegal version number')
220-
# Set the variant to RFC 9562.
220+
# Set the variant to RFC 4122.
221221
int &= ~(0xc000 << 48)
222222
int |= 0x8000 << 48
223223
# Set the version number.

0 commit comments

Comments
 (0)