Skip to content

Break up ArgumentParser._parse_known_args() #3

Description

@cjerdonek

ArgumentParser._parse_known_args() is a 245-line function that should probably be broken up.

The function implementation includes many multiply-nested if-else blocks and for loops. It also defines at least three non-trivial functions within the function, including a 72-line function consume_optional().

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions