Skip to content

Commit

Permalink
pythongh-123789: secrets.randbits returns only non-negative int (py…
Browse files Browse the repository at this point in the history
  • Loading branch information
Wulian233 authored Sep 8, 2024
1 parent 11fa119 commit beee91c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/library/secrets.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit beee91c

Please sign in to comment.