gh-123789: secrets.randbits returns only non-negative int (#123801)

This commit is contained in:
Wulian
2024-09-08 12:17:59 +08:00
committed by GitHub
parent 11fa119879
commit beee91cdcc

View File

@@ -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