8000 argparse.BooleanOptionalAction documentation · Issue #136032 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content
argparse.BooleanOptionalAction documentation #136032
Open
@adusamr

Description

@adusamr

Documentation

Current argparse.BooleanOptionalAction documentation is:

You may also specify an arbitrary action by passing an Action subclass or other object that implements the same interface. The BooleanOptionalAction is available in argparse and adds support for boolean actions such as --foo and --no-foo:

The sentence "You may also specify an arbitrary action by passing an Action subclass or other object that implements the same interface. " should be in the outside of argparse.BooleanOptionalAction.

ver 3.11 did not have argparse.BooleanOptionalAction section and this was ok, but this section was created in ver 3.12 including the sentence, which is not specific to argparse.BooleanOptionalAction.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsDocumentation in the Doc dir

    Projects

    Status

    Doc issues

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0