We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5006c19 commit b11ea05Copy full SHA for b11ea05
1 file changed
Lib/uuid.py
@@ -667,7 +667,7 @@ def _random_getnode():
667
#
668
# See https://en.wikipedia.org/w/index.php?title=MAC_address&oldid=1128764812#Universal_vs._local_(U/L_bit)
669
670
- return (int.from_bytes(__import__('os').urandom(6), 'big')) | (1 << 40)
+ return (int.from_bytes(os.urandom(6), 'big')) | (1 << 40)
671
672
673
# _OS_GETTERS, when known, are targeted for a specific OS or platform.
0 commit comments