|
12 | 12 |
|
13 | 13 | This module provides immutable :class:`UUID` objects (the :class:`UUID` class) |
14 | 14 | 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`. |
16 | 16 |
|
17 | 17 | If all you want is a unique ID, you should probably call :func:`uuid1` or |
18 | 18 | :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: |
149 | 149 |
|
150 | 150 | .. attribute:: UUID.version |
151 | 151 |
|
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 |
153 | 153 | :const:`RFC_4122`). |
154 | 154 |
|
| 155 | + .. versionchanged:: 3.14 |
| 156 | + Added UUID version 8. |
| 157 | + |
| 158 | + |
155 | 159 | .. attribute:: UUID.is_safe |
156 | 160 |
|
157 | 161 | An enumeration of :class:`SafeUUID` which indicates whether the platform |
@@ -216,6 +220,16 @@ The :mod:`uuid` module defines the following functions: |
216 | 220 |
|
217 | 221 | .. index:: single: uuid5 |
218 | 222 |
|
| 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 | + |
219 | 233 | The :mod:`uuid` module defines the following namespace identifiers for use with |
220 | 234 | :func:`uuid3` or :func:`uuid5`. |
221 | 235 |
|
|
0 commit comments