We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
secrets.choice
secrets.randbelow
secrets.rst
1 parent 33d2019 commit c444362Copy full SHA for c444362
Doc/library/secrets.rst
@@ -42,13 +42,13 @@ randomness that your operating system provides.
42
sources provided by the operating system. See
43
:class:`random.SystemRandom` for additional details.
44
45
-.. function:: choice(sequence)
+.. function:: choice(seq)
46
47
Return a randomly chosen element from a non-empty sequence.
48
49
-.. function:: randbelow(n)
+.. function:: randbelow(exclusive_upper_bound)
50
51
- Return a random int in the range [0, *n*).
+ Return a random int in the range [0, *exclusive_upper_bound*).
52
53
.. function:: randbits(k)
54
0 commit comments