Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32.4k
Correct the argument names forsecrets.choice
andsecrets.randbelow
insecrets.rst
#118098
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
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 commitc444362)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 commitc444362)Co-authored-by: Adam Dangoor <adamdangoor@gmail.com>
GH-118906 is a backport of this pull request to the3.13 branch. |
GH-118907 is a backport of this pull request to the3.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 commitc444362)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 commitc444362)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`.
Uh oh!
There was an error while loading.Please reload this page.
📚 Documentation preview 📚:https://cpython-previews--118098.org.readthedocs.build/