Skip to content

gh-144837: use standard signature syntax in docs#144929

Closed
jwild2027 wants to merge 1 commit intopython:mainfrom
jwild2027:docs-144837-signatures
Closed

gh-144837: use standard signature syntax in docs#144929
jwild2027 wants to merge 1 commit intopython:mainfrom
jwild2027:docs-144837-signatures

Conversation

@jwild2027
Copy link

@jwild2027 jwild2027 commented Feb 17, 2026

This PR updates documentation method signatures to match standard signature conventions.

Changes:

  • Use the positional-only marker , / for extend() where appropriate
  • Change pop([i]) to pop(index=-1, /)

Files updated:

  • Doc/tutorial/datastructures.rst
  • Doc/library/array.rst
  • Doc/library/collections.rst

gh-144837


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

@python-cla-bot
Copy link

python-cla-bot bot commented Feb 17, 2026

All commit authors signed the Contributor License Agreement.

CLA signed

@StanFromIreland
Copy link
Member

This is a duplicate of #144841 , please don't open PRs for issues that already have them.

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

Labels

awaiting review docs Documentation in the Doc dir skip news

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

2 participants