You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
action_ Specify how an argument should be handled ``'store'``, ``'store_const'``, ``'store_true'``, ``'append'``, ``'append_const'``, ``'count'``, ``'help'``, ``'version'``
64
-
choices_ Limit values to specific set of choices ``['foo', 'bar']``, ``range(1, 10)``, or an object that supports ``in`` operator
64
+
choices_ Limit values to a specific set of choices ``['foo', 'bar']``, ``range(1, 10)``, or :class:`~collections.abc.Container` instance
65
65
const_ Store a constant value
66
-
default_ Default value used when an argument is not provided
67
-
dest_ Specify the attribute name in result namespace
66
+
default_ Default value used when an argument is not provided Defaults to *None*
67
+
dest_ Specify the attribute name used in the result namespace
68
68
help_ Help message for an argument
69
69
metavar_ Alternate display name for the argument as shown in help
70
-
nargs_ Number of times the argument can be used ``N`` (:class:`int`), ``'?'``, ``'*'``, ``'+'``, ``argparse.REMAINDER``
71
-
required_ Indicate whether an optional argument is required or not ``True``, ``False``
72
-
type_ Automatically convert an argument to the given type :class:`int`, :class:`float`, ``argparse.FileType('w')``, or any callable function
70
+
nargs_ Number of times the argument can be used :class:`int`, ``'?'``, ``'*'``, ``'+'``, or ``argparse.REMAINDER``
71
+
required_ Indicate whether an argument is required or optional``True`` or ``False``
72
+
type_ Automatically convert an argument to the given type :class:`int`, :class:`float`, ``argparse.FileType('w')``, or callable function
0 commit comments