summaryrefslogtreecommitdiffstats
path: root/Doc/library/secrets.rst
diff options
context:
space:
mode:
authorWulian <1055917385@qq.com>2024-09-08 04:17:59 (GMT)
committerGitHub <noreply@github.com>2024-09-08 04:17:59 (GMT)
commitbeee91cdcc0dbecab252f7c5c7c51e2adb8edc26 (patch)
tree12e1b59fef11782ec497992c3b73d83e0bd6a6c5 /Doc/library/secrets.rst
parent11fa11987990eb7ed75b1597cf2e8237f5991c57 (diff)
downloadcpython-beee91cdcc0dbecab252f7c5c7c51e2adb8edc26.zip
cpython-beee91cdcc0dbecab252f7c5c7c51e2adb8edc26.tar.gz
cpython-beee91cdcc0dbecab252f7c5c7c51e2adb8edc26.tar.bz2
gh-123789: `secrets.randbits` returns only non-negative int (#123801)
Diffstat (limited to 'Doc/library/secrets.rst')
-rw-r--r--Doc/library/secrets.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/secrets.rst b/Doc/library/secrets.rst
index 1401a92..75dafc5 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