Skip to content

Commit b0d271b

Browse files
picnixzebonnal
authored andcommitted
pythongh-89083: small docs fixup for UUIDv8 (python#126857)
1 parent 95de775 commit b0d271b

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

Doc/library/uuid.rst

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
--------------
1212

1313
This module provides immutable :class:`UUID` objects (the :class:`UUID` class)
14-
and the functions :func:`uuid1`, :func:`uuid3`, :func:`uuid4`, :func:`uuid5` for
15-
generating version 1, 3, 4, 5, and 8 UUIDs as specified in :rfc:`9562` (which
16-
supersedes :rfc:`4122`).
14+
and the functions :func:`uuid1`, :func:`uuid3`, :func:`uuid4`, :func:`uuid5`,
15+
and :func:`uuid.uuid8` for generating version 1, 3, 4, 5, and 8 UUIDs as
16+
specified in :rfc:`9562` (which supersedes :rfc:`4122`).
1717

1818
If all you want is a unique ID, you should probably call :func:`uuid1` or
1919
:func:`uuid4`. Note that :func:`uuid1` may compromise privacy since it creates
@@ -323,6 +323,9 @@ The following options are accepted:
323323
Specify the function name to use to generate the uuid. By default :func:`uuid4`
324324
is used.
325325

326+
.. versionadded:: next
327+
Allow generating UUID version 8.
328+
326329
.. option:: -n <namespace>
327330
--namespace <namespace>
328331

0 commit comments

Comments
 (0)