Skip to content

Correct the argument names for secrets.choice and secrets.randbelow in secrets.rst - #118098

Merged
encukou merged 1 commit into
python:mainfrom
adamtheturtle:main
May 10, 2024
Merged

Correct the argument names for secrets.choice and secrets.randbelow in secrets.rst#118098
encukou merged 1 commit into
python:mainfrom
adamtheturtle:main

Conversation

@adamtheturtle

@adamtheturtleadamtheturtle commented Apr 19, 2024

Copy link
Copy Markdown
Contributor

@encukouencukou left a comment

Copy link
Copy Markdown
Member

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.

@encukou
encukou enabled auto-merge (squash) May 10, 2024 14:27
@encukouencukou added needs backport to 3.12 only security fixes needs backport to 3.13 bugs and security fixes labels May 10, 2024
@encukou
encukou merged commit c444362 into python:mainMay 10, 2024
@miss-islington-app

Copy link
Copy Markdown

Thanks @adamtheturtle for the PR, and @encukou for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 10, 2024
…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>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 10, 2024
…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>
@bedevere-app

Copy link
Copy Markdown

GH-118906 is a backport of this pull request to the 3.13 branch.

@bedevere-appbedevere-appBot removed the needs backport to 3.13 bugs and security fixes label May 10, 2024
@bedevere-app

Copy link
Copy Markdown

GH-118907 is a backport of this pull request to the 3.12 branch.

@bedevere-appbedevere-appBot removed the needs backport to 3.12 only security fixes label May 10, 2024
encukou pushed a commit that referenced this pull request May 10, 2024
…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>
encukou pushed a commit that referenced this pull request May 10, 2024
…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>
@JelleZijlstraJelleZijlstra mentioned this pull request May 28, 2024
estyxx pushed a commit to estyxx/cpython that referenced this pull request Jul 17, 2024
…w` in `secrets.rst` (pythonGH-118098)
Correct the argument names for `secrets.choice` and `secrets.randbelow` in `secrets.rst`.
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docsDocumentation in the Doc dirskip issueskip news

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@adamtheturtle@encukou@AlexWaygood