Skip to content

Off-by-one index error in __main__.py doc #112165

Closed
@vanyolos

Description

@vanyolos

Very minor issue, the '2' here should be '3' on the RHS of the comparison (given we really want to return sys.argv[2] from the ternary).

image

https://docs.python.org/3.10/library/__main__.html

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsDocumentation in the Doc dir

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions