Allow custom actions

This commit is contained in:
Michael R. Crusoe authored and Michael R. Crusoe committed 2016-03-14 09:06:50 -07:00
1 parent 5e0c61f8e0
commit e0a3fd2a5f
2 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -2,7 +2,7 @@
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any, Sequence
from typing import Any, Sequence, Union
SUPPRESS = ... # type: Any
OPTIONAL = ... # type: Any
@@ -118,7 +118,7 @@ class _ActionsContainer:
def get_default(self, dest): ...
def add_argument(self,
*args: str,
action: str = ...,
action: Union[str, Action] = ...,
nargs: str = ...,
const: Any = ...,
default: Any = ...,