Skip to content

Commit beee91c

Browse files
authored
gh-123789: secrets.randbits returns only non-negative int (#123801)
1 parent 11fa119 commit beee91c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/secrets.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ randomness that your operating system provides.
5252

5353
.. function:: randbits(k)
5454

55-
Return an int with *k* random bits.
55+
Return a non-negative int with *k* random bits.
5656

5757

5858
Generating tokens

0 commit comments

Comments
 (0)