Skip to content

Commit 6d76389

Browse files
authored
reword prolog
1 parent 54d07ae commit 6d76389

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

Lib/uuid.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
r"""UUID objects (universally unique identifiers) according to RFC 4122/9562.
22
3-
This module provides immutable UUID objects (class UUID) and the functions
4-
uuid{N}() for generating UUIDs version N as specified in RFC 4122/9562 for
5-
N = 1, 3, 4, 5, 6, 7, and 8.
3+
This module provides immutable UUID objects (class UUID) and functions for
4+
generating UUIDs corresponding to a specific UUID version as specified in
5+
RFC 4122/9562, e.g., uuid1() for UUID version 1, uuid3() for UUID version 3,
6+
and so on.
7+
8+
Note that UUID version 2 is deliberately omitted as it exceeds the scope
9+
of the RFC.
610
711
If all you want is a unique ID, you should probably call uuid1() or uuid4().
812
Note that uuid1() may compromise privacy since it creates a UUID containing

0 commit comments

Comments
 (0)