Skip to content

Commit 0e54a72

Browse files
committed
update docs
1 parent d4eeded commit 0e54a72

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

Doc/library/uuid.rst

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,9 +224,14 @@ The :mod:`uuid` module defines the following functions:
224224

225225
.. function:: uuid7()
226226

227-
.. versionadded:: next
227+
Generate a time-based UUID according to
228+
:rfc:`RFC 9562, §5.7 <9562#section-5.7>`.
229+
230+
For portability across platforms lacking sub-millisecond precision, UUIDs
231+
produced by this function embed a 48-bit timestamp and use a 42-bit counter
232+
to guarantee monotonicity within a millisecond.
228233

229-
.. index:: single: uuid7
234+
.. versionadded:: next
230235

231236

232237
.. function:: uuid8(a=None, b=None, c=None)

0 commit comments

Comments
 (0)