-
-
Notifications
You must be signed in to change notification settings - Fork 30.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Correct the argument names for secrets.choice
and secrets.randbelow
in secrets.rst
#118098
Conversation
…w` in `secrets.rst`.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These would be best positional-only, but it's much too late for that now. The docs should match the API.
Thanks @adamtheturtle for the PR, and @encukou for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13. |
…w` in `secrets.rst` (pythonGH-118098) Correct the argument names for `secrets.choice` and `secrets.randbelow` in `secrets.rst`. (cherry picked from commit c444362) Co-authored-by: Adam Dangoor <adamdangoor@gmail.com>
…w` in `secrets.rst` (pythonGH-118098) Correct the argument names for `secrets.choice` and `secrets.randbelow` in `secrets.rst`. (cherry picked from commit c444362) Co-authored-by: Adam Dangoor <adamdangoor@gmail.com>
GH-118906 is a backport of this pull request to the 3.13 branch. |
GH-118907 is a backport of this pull request to the 3.12 branch. |
…andbelow` in `secrets.rst` (GH-118098) (GH-118907) 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 c444362) Co-authored-by: Adam Dangoor <adamdangoor@gmail.com>
…andbelow` 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 c444362) Co-authored-by: Adam Dangoor <adamdangoor@gmail.com>
…w` in `secrets.rst` (pythonGH-118098) Correct the argument names for `secrets.choice` and `secrets.randbelow` in `secrets.rst`.
📚 Documentation preview 📚: https://cpython-previews--118098.org.readthedocs.build/