class documentation
class _StoreNewNamesArgument(_DeprecationArgument): (source)
Store arguments while also emitting deprecation warnings. This is based on the parameters passed to argparse.ArgumentsParser.add_message. See: https://docs.python.org/3/library/argparse.html#argparse.ArgumentParser.add_argument
Method | __init__ |
Undocumented |
Instance Variable | kwargs |
Any additional arguments passed to the action. |
Inherited from _DeprecationArgument
:
Instance Variable | action |
The action to perform with the argument. |
Instance Variable | choices |
A list of possible choices for the argument. |
Instance Variable | default |
The default value of the argument. |
Instance Variable | metavar |
The metavar of the argument. |
Instance Variable | type |
A transformer function that returns a transformed type of the argument. |
Inherited from _Argument
(via _DeprecationArgument
):
Instance Variable | flags |
The name of the argument. |
Instance Variable | help |
The description of the argument. |
Instance Variable | hide |
Whether to hide this argument in the help message. |
Instance Variable | section |
The section to add this argument to. |