Skip to content

Commit 998ae1f

Browse files
authored
bpo-42931: randbytes missing from random.__all__ (GH-24219)
1 parent ba876c4 commit 998ae1f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Lib/random.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@
7878
"lognormvariate",
7979
"normalvariate",
8080
"paretovariate",
81+
"randbytes",
8182
"randint",
8283
"random",
8384
"randrange",
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add :func:`randbytes` to ``random.__all__``.

0 commit comments

Comments
 (0)