Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-107194: Improved language of list.index in tutorial #138518

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
corona10 merged 1 commit into python:main from ricsatjr:fix-issue-107194
Sep 5, 2025

Conversation

Copy link
Contributor

@ricsatjr ricsatjr commented Sep 5, 2025
edited by github-actions bot
Loading

Edited list.index documentation from

  • "Return zero-based index in the list of the first item whose value is equal to x." to
  • "Return zero-based index of the first occurrence of x in the list."

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

Copy link
Member

@corona10 corona10 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm! Thanks for the contribution during PyCon TW sprint :)

@corona10 corona10 added needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes labels Sep 5, 2025
@corona10 corona10 merged commit f19f1d8 into python:main Sep 5, 2025
46 checks passed
Copy link

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

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Sep 5, 2025
...h-138518)
(cherry picked from commit f19f1d8)
Co-authored-by: Ric <11750904+ricsatjr@users.noreply.github.com>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Sep 5, 2025
...h-138518)
(cherry picked from commit f19f1d8)
Co-authored-by: Ric <11750904+ricsatjr@users.noreply.github.com>
Copy link

bedevere-app bot commented Sep 5, 2025

GH-138527 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.14 bugs and security fixes label Sep 5, 2025
Copy link

bedevere-app bot commented Sep 5, 2025

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

@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label Sep 5, 2025
hugovk pushed a commit that referenced this pull request Sep 5, 2025
) (#138527)
gh-107194: Improved language of list.index in tutorial (gh-138518)
(cherry picked from commit f19f1d8)
Co-authored-by: Ric <11750904+ricsatjr@users.noreply.github.com>
hugovk pushed a commit that referenced this pull request Sep 8, 2025
) (#138528)
Co-authored-by: Ric <11750904+ricsatjr@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers

@corona10 corona10 corona10 approved these changes

@StanFromIreland StanFromIreland StanFromIreland approved these changes

Assignees
No one assigned
Labels
docs Documentation in the Doc dir skip news
Projects
Status: Done
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /