Skip to content

Conversation

ricsatjr
Copy link
Contributor

@ricsatjr ricsatjr commented Sep 5, 2025

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
@github-project-automation github-project-automation bot moved this from Todo to Done in Docs PRs Sep 5, 2025
@miss-islington-app
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
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Sep 5, 2025
@bedevere-app
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
@bedevere-app
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 <[email protected]>
hugovk pushed a commit that referenced this pull request Sep 8, 2025
kumaraditya303 pushed a commit to miss-islington/cpython that referenced this pull request Sep 9, 2025
lkollar pushed a commit to lkollar/cpython that referenced this pull request Sep 9, 2025
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 news
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants