Skip to content

Improve documentation for more collection methods #144837

@serhiy-storchaka

Description

@serhiy-storchaka

Standard sequence methods were uniformly documented in #138465, and, before this, we got rid of the confusing syntax pop([i]) in #27398. But it is still used in other sites -- in the tutorial and in the array documentation. See recent discussion https://discuss.python.org/t/a-small-typo-on-5-1-more-on-lists-section/106150/.

We should uniform the syntax of signatures in the tutorial and the array module documentation with the syntax used for standard types. And while we are here, there are also collections in the collections module which should use the same form.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.13bugs and security fixes3.14bugs and security fixes3.15new features, bugs and security fixesdocsDocumentation in the Doc dir

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions