Skip to content

docs-tutorial-data_structures-typo-fix: list.index signature mismatch in tutorial - #163100

Open
earcanal wants to merge 1 commit into
python:mainfrom
earcanal:fix-docs-tutorial-datastructures-typo
Open

earcanal wants to merge 1 commit into
python:mainfrom
earcanal:fix-docs-tutorial-datastructures-typo

Conversation

@earcanal

@earcanal earcanal commented Dec 3, 2026

Copy link
Copy Markdown

First PR here so hopefully this is OK. I didn't open an issue for this as I think it essentially a typo.

In the tutorial 5.1 More on Lists the explanation of list.index says

The optional arguments start and end are interpreted [...]

but I think it should read

The optional arguments start and stop are interpreted [...]

so that it matches the method signature above, i.e. list.index(value[, start[, stop]])

Tutorial docs refer to optional args `start and end` which doesn't match
`start[, stop]` in signature above.
@python-cla-bot

python-cla-bot Bot commented Dec 3, 2026 •

Copy link
Copy Markdown

All commit authors signed the Contributor License Agreement.

CLA signed

@bedevere-app bedevere-app Bot added docs Documentation in the Doc dir skip news labels Dec 3, 2026
@github-project-automation github-project-automation Bot moved this to Todo in Docs PRs Dec 3, 2026
@read-the-docs-community

Copy link
Copy Markdown

📖 1 file modified


Preview · build overview · cpython-previews · built Dec. 3, 2026, 6:50 p.m. UTC

@earcanal

earcanal commented Dec 3, 2026

Copy link
Copy Markdown
Author

Only failing check is missing issue number which was intentional as I think this is just a typo. I don't think I can add "skip issue" label.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

2 participants