Skip to content

Commit 7be6dc4

Browse files
committed
add docs
1 parent 44b66e6 commit 7be6dc4

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

Doc/library/uuid.rst

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
This module provides immutable :class:`UUID` objects (the :class:`UUID` class)
1414
and the functions :func:`uuid1`, :func:`uuid3`, :func:`uuid4`, :func:`uuid5` for
15-
generating version 1, 3, 4, and 5 UUIDs as specified in :rfc:`4122`.
15+
generating version 1, 3, 4, 5, and 8 UUIDs as specified in :rfc:`4122`.
1616

1717
If all you want is a unique ID, you should probably call :func:`uuid1` or
1818
:func:`uuid4`. Note that :func:`uuid1` may compromise privacy since it creates
@@ -149,9 +149,13 @@ which relays any information about the UUID's safety, using this enumeration:
149149

150150
.. attribute:: UUID.version
151151

152-
The UUID version number (1 through 5, meaningful only when the variant is
152+
The UUID version number (1 through 8, meaningful only when the variant is
153153
:const:`RFC_4122`).
154154

155+
.. versionchanged:: 3.14
156+
Added UUID version 8.
157+
158+
155159
.. attribute:: UUID.is_safe
156160

157161
An enumeration of :class:`SafeUUID` which indicates whether the platform
@@ -216,6 +220,16 @@ The :mod:`uuid` module defines the following functions:
216220

217221
.. index:: single: uuid5
218222

223+
224+
.. function:: uuid8(a=None, b=None, c=None)
225+
226+
TODO
227+
228+
.. versionadded:: 3.14
229+
230+
.. index:: single: uuid8
231+
232+
219233
The :mod:`uuid` module defines the following namespace identifiers for use with
220234
:func:`uuid3` or :func:`uuid5`.
221235

0 commit comments

Comments
 (0)