gh-123789: secrets.randbits returns only non-negative int (#123801)
This commit is contained in:
@@ -52,7 +52,7 @@ randomness that your operating system provides.
|
||||
|
||||
.. function:: randbits(k)
|
||||
|
||||
Return an int with *k* random bits.
|
||||
Return a non-negative int with *k* random bits.
|
||||
|
||||
|
||||
Generating tokens
|
||||
|
||||
Reference in New Issue
Block a user