Skip to content

Commit ffe0074

Browse files
authored
Apply suggestions from code review
1 parent c5249d4 commit ffe0074

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Lib/uuid.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -656,7 +656,7 @@ def _windll_getnode():
656656

657657
def _random_getnode():
658658
"""Get a random node ID."""
659-
# RFC 9562, §6.10 says that
659+
# RFC 9562, §6.10-3 says that
660660
#
661661
# Implementations MAY elect to obtain a 48-bit cryptographic-quality
662662
# random number as per Section 6.9 to use as the Node ID. [...] [and]
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
:mod:`uuid`: when the MAC address cannot be determined, the 48-bit node
22
ID is now generated with a cryptographically-secure pseudo-random number
3-
generator (CSPRNG) as per :rfc:`RFC 9562, §6.10 <9562#section-6.10>`.
3+
generator (CSPRNG) as per :rfc:`RFC 9562, §6.10.3 <9562#section-6.10-3>`.
4+
45
This affects :func:`~uuid.uuid1` and :func:`~uuid.uuid6`.

0 commit comments

Comments
 (0)