mirror of https://github.com/python/cpython
gh-123789: `secrets.randbits` returns only non-negative int (#123801)
This commit is contained in:
parent
11fa119879
commit
beee91cdcc
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue