Skip to content

Commit c69a050

Browse files
LamentXU123picnixz
andauthored
Update Doc/library/uuid.rst
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
1 parent b911f1e commit c69a050

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Doc/library/uuid.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -196,9 +196,9 @@ The :mod:`uuid` module defines the following functions:
196196
Generate a UUID from a host ID, sequence number, and the current time
197197
according to :rfc:`RFC 9562, §5.1 <9562#section-5.1>`.
198198

199-
If *node* is not given, :func:`getnode` is used to obtain the hardware address.
200-
201-
If *clock_seq* is given, it is used as the sequence number; otherwise a random
199+
When *node* is not specified, :func:`getnode` is used to obtain the hardware
200+
address as a 48-bit positive integer. When a sequence number *clock_seq* is
201+
not specified, a pseudo-random 14-bit positive integer is generated.
202202
14-bit sequence number is chosen.
203203

204204

0 commit comments

Comments
 (0)