Commit Graph
3 Commits
Author SHA1 Message Date
jdelic 791966a65a argparse stub fix: allow subclasses of Action in add_argument(action=...) (#385)
The action was incorrectly typed as allowing instances of Action -- the correct type is subclasses of Action. (And str.)
2016-07-22 14:38:24 -07:00
jdelic 05cd6ec5fa List should probably be Sequence (#387) 2016-07-22 13:19:49 -07:00
jdelic 4f7c9ce432 argparse stub fix: values parameter of Action can also be str and None (#388)
* values can be a str, too

* values should probably use Sequence
2016-07-22 10:58:59 -07:00