Skip to content

Commit 9437f4e

Browse files
committed
Edits to documentation
1 parent 50c6294 commit 9437f4e

File tree

3 files changed

+11
-8
lines changed

3 files changed

+11
-8
lines changed

Doc/library/uuid.rst

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -288,23 +288,24 @@ of the :attr:`~UUID.variant` attribute:
288288

289289
Reserved for future definition.
290290

291+
291292
The :mod:`uuid` module defines the special Nil and Max UUID values:
292293

293294

294-
.. data:: NIL
295+
.. const:: NIL
295296

296297
A special form of UUID that is specified to have all 128 bits set to zero
297298
according to :rfc:`RFC 9562, §5.9 <9562#section-5.9>`.
298299

299-
.. versionadded:: 3.14
300+
.. versionadded:: next
300301

301302

302-
.. data:: MAX
303+
.. const:: MAX
303304

304305
A special form of UUID that is specified to have all 128 bits set to one
305306
according to :rfc:`RFC 9562, §5.10 <9562#section-5.10>`.
306307

307-
.. versionadded:: 3.14
308+
.. versionadded:: next
308309

309310

310311
.. seealso::
@@ -406,6 +407,7 @@ Here are some examples of typical usage of the :mod:`uuid` module::
406407
>>> uuid.MAX
407408
UUID('ffffffff-ffff-ffff-ffff-ffffffffffff')
408409

410+
409411
.. _uuid-cli-example:
410412

411413
Command-Line Example

Doc/whatsnew/3.14.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -665,9 +665,10 @@ uuid
665665
in :rfc:`9562`.
666666
(Contributed by Bénédikt Tran in :gh:`89083`.)
667667

668-
* :data:`uuid.NIL` and :data:`uuid.MAX` are now available to represent the Nil
669-
and Max UUID formats as defined by :rfc:`9562`. (Contributed by Nick Pope in
670-
:gh:`128427`.)
668+
* :const:`uuid.NIL` and :const:`uuid.MAX` are now available to represent the
669+
Nil and Max UUID formats as defined by :rfc:`9562`.
670+
(Contributed by Nick Pope in :gh:`128427`.)
671+
671672

672673
zipinfo
673674
-------
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
:data:`uuid.NIL` and :data:`uuid.MAX` are now available to represent the Nil
1+
:const:`uuid.NIL` and :const:`uuid.MAX` are now available to represent the Nil
22
and Max UUID formats as defined by :rfc:`9562`.

0 commit comments

Comments
 (0)