Skip to content

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

Merged
corona10 merged 1 commit into
python:mainfrom
ricsatjr:fix-issue-107194
Sep 5, 2025
Merged

gh-107194: Improved language of list.index in tutorial#138518
corona10 merged 1 commit into
python:mainfrom
ricsatjr:fix-issue-107194

Conversation

@ricsatjr

@ricsatjr ricsatjr commented Sep 5, 2025

Copy link
Copy Markdown
Contributor

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/

@corona10 corona10 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.

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
Copy Markdown

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>
@bedevere-app

bedevere-app Bot commented Sep 5, 2025

Copy link
Copy Markdown

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

bedevere-app Bot commented Sep 5, 2025

Copy link
Copy Markdown

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>
kumaraditya303 pushed a commit to miss-islington/cpython that referenced this pull request Sep 9, 2025
…ythongh-138518) (python#138527)

pythongh-107194: Improved language of list.index in tutorial (pythongh-138518)
(cherry picked from commit f19f1d8)

Co-authored-by: Ric <11750904+ricsatjr@users.noreply.github.com>
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