diff options
author | Bénédikt Tran <10796600+picnixz@users.noreply.github.com> | 2024-11-15 12:26:38 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-15 12:26:38 (GMT) |
commit | e17486982ca7b40cc8fbc1c76ad25facc5e76349 (patch) | |
tree | bc35a4dd229afedb11de01c1bd54284d9d5c0c67 /Doc/library | |
parent | 9332a6f82506f819f591466eb03213be2c8d1808 (diff) | |
download | cpython-e17486982ca7b40cc8fbc1c76ad25facc5e76349.zip cpython-e17486982ca7b40cc8fbc1c76ad25facc5e76349.tar.gz cpython-e17486982ca7b40cc8fbc1c76ad25facc5e76349.tar.bz2 |
gh-89083: small docs fixup for UUIDv8 (#126857)
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/uuid.rst | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Doc/library/uuid.rst b/Doc/library/uuid.rst index 6166c22..9be12ed 100644 --- a/Doc/library/uuid.rst +++ b/Doc/library/uuid.rst @@ -11,9 +11,9 @@ -------------- This module provides immutable :class:`UUID` objects (the :class:`UUID` class) -and the functions :func:`uuid1`, :func:`uuid3`, :func:`uuid4`, :func:`uuid5` for -generating version 1, 3, 4, 5, and 8 UUIDs as specified in :rfc:`9562` (which -supersedes :rfc:`4122`). +and the functions :func:`uuid1`, :func:`uuid3`, :func:`uuid4`, :func:`uuid5`, +and :func:`uuid.uuid8` for generating version 1, 3, 4, 5, and 8 UUIDs as +specified in :rfc:`9562` (which supersedes :rfc:`4122`). If all you want is a unique ID, you should probably call :func:`uuid1` or :func:`uuid4`. Note that :func:`uuid1` may compromise privacy since it creates @@ -323,6 +323,9 @@ The following options are accepted: Specify the function name to use to generate the uuid. By default :func:`uuid4` is used. + .. versionadded:: next + Allow generating UUID version 8. + .. option:: -n <namespace> --namespace <namespace> |