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
Documentation
Current
argparse.BooleanOptionalActiondocumentation is: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.BooleanOptionalActionsection and this was ok, but this section was created in ver 3.12 including the sentence, which is not specific toargparse.BooleanOptionalAction.Linked PRs
argparse.BooleanOptionalActiondoc #136133argparse.BooleanOptionalActiondoc (GH-136133) #136329argparse.BooleanOptionalActiondoc (GH-136133) #136330