https://github.com/python/cpython/commit/c184b0680a467abfda63469cf7f0200a330602e6 commit: c184b0680a467abfda63469cf7f0200a330602e6 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: Yhg1s <[email protected]> date: 2024-09-24T11:21:10-07:00 summary:
[3.13] gh-123789: `secrets.randbits` returns only non-negative int (GH-123801) (#123830) gh-123789: `secrets.randbits` returns only non-negative int (GH-123801) (cherry picked from commit beee91cdcc0dbecab252f7c5c7c51e2adb8edc26) Co-authored-by: Wulian <[email protected]> files: M Doc/library/secrets.rst diff --git a/Doc/library/secrets.rst b/Doc/library/secrets.rst index 1401a925103517..75dafc54d40ca5 100644 --- a/Doc/library/secrets.rst +++ b/Doc/library/secrets.rst @@ -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 _______________________________________________ Python-checkins mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-checkins.python.org/ Member address: [email protected]
