[3.13] Correct the argument names for `secrets.choice` and `secrets.randbelow` in `secrets.rst` (GH-118098) (GH-118906)

Correct the argument names for `secrets.choice` and `secrets.randbelow` in `secrets.rst` (GH-118098)

Correct the argument names for `secrets.choice` and `secrets.randbelow` in `secrets.rst`.
(cherry picked from commit c444362c6e)

Co-authored-by: Adam Dangoor <adamdangoor@gmail.com>
This commit is contained in:
Miss Islington (bot) 2024-05-10 16:56:33 +02:00 committed by GitHub
parent 4480dd86d9
commit 0874a400a8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 3 deletions

View File

@ -42,13 +42,13 @@ randomness that your operating system provides.
sources provided by the operating system. See sources provided by the operating system. See
:class:`random.SystemRandom` for additional details. :class:`random.SystemRandom` for additional details.
.. function:: choice(sequence) .. function:: choice(seq)
Return a randomly chosen element from a non-empty sequence. Return a randomly chosen element from a non-empty sequence.
.. function:: randbelow(n) .. function:: randbelow(exclusive_upper_bound)
Return a random int in the range [0, *n*). Return a random int in the range [0, *exclusive_upper_bound*).
.. function:: randbits(k) .. function:: randbits(k)