Skip to content

Commit aed5839

Browse files
committed
update docs
1 parent e4a7198 commit aed5839

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

Doc/library/uuid.rst

Lines changed: 7 additions & 4 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, 6, 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:`uuid6` for generating version 1, 3, 4, 5, 6, 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
@@ -325,7 +325,7 @@ The :mod:`uuid` module can be executed as a script from the command line.
325325

326326
.. code-block:: sh
327327
328-
python -m uuid [-h] [-u {uuid1,uuid3,uuid4,uuid5,uuid8}] [-n NAMESPACE] [-N NAME]
328+
python -m uuid [-h] [-u {uuid1,uuid3,uuid4,uuid5,uuid6,uuid8}] [-n NAMESPACE] [-N NAME]
329329
330330
The following options are accepted:
331331

@@ -341,6 +341,9 @@ The following options are accepted:
341341
Specify the function name to use to generate the uuid. By default :func:`uuid4`
342342
is used.
343343

344+
.. versionadded:: next
345+
Allow generating UUID version 6.
346+
344347
.. option:: -n <namespace>
345348
--namespace <namespace>
346349

0 commit comments

Comments
 (0)