Skip to content

[3.12] Fix variable name in dis documentation example (GH-109343) #109364

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

Merged
merged 1 commit into from
Sep 13, 2023

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Sep 13, 2023

BINARY_SUBSCR example erroneously uses two different names key and index to refer to the same variable. STORE_SUBSCR and DELETE_SUBSCR use only key in the same context. Changing index to key for consistency.
(cherry picked from commit a0c06a4)

Co-authored-by: Oleksandr Kravets [email protected]


📚 Documentation preview 📚: https://cpython-previews--109364.org.readthedocs.build/

BINARY_SUBSCR example erroneously uses two different names `key` and `index` to refer to the same variable. STORE_SUBSCR and DELETE_SUBSCR use only `key` in the same context. Changing `index` to `key` for consistency.
(cherry picked from commit a0c06a4)

Co-authored-by: Oleksandr Kravets <[email protected]>
@bedevere-app bedevere-app bot added awaiting review docs Documentation in the Doc dir skip news labels Sep 13, 2023
@Yhg1s Yhg1s merged commit 5b38bde into python:3.12 Sep 13, 2023
@miss-islington miss-islington deleted the backport-a0c06a4-3.12 branch September 13, 2023 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir skip issue skip news
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants