Commit Graph

10 Commits

Author SHA1 Message Date
Michael R. Crusoe
0be5a11496 A couple new definitions, some more unicode for 2.7 (#185)
* Action.__init__(); ArgumentParser.__init__() & print_help()

* pprint() & pformat()

* added unicode support to url{parse,split,join,defrag}

* add unicode support to requests.api
2016-05-06 09:14:49 -07:00
David Fisher
a8ef40467d Fix type error in 2.7 stubs (#152) 2016-04-20 14:07:30 -07:00
David Fisher
c89218bc77 Add version keyword arg to argparse.ArgumentParser.add_argument 2016-03-17 10:37:22 -07:00
Michael R. Crusoe
e0a3fd2a5f Allow custom actions 2016-03-14 09:06:50 -07:00
Guido van Rossum
9ae0c0b337 Fix argparse.Namespace better. 2015-11-22 16:28:54 -08:00
Matthias Kramm
54b49839fc Improve return value of ArgumentParser.parse_args
See https://github.com/python/typeshed/issues/25
2015-11-11 16:31:37 -08:00
Matthias Kramm
94c9ce8fd0 Consistently use '= ...' for optional parameters. 2015-11-09 13:55:02 -08:00
Matthias Kramm
375bf063b1 Fix parse errors 2015-11-09 13:37:08 -08:00
Matthias Kramm
4fe8915d44 Add missing '-> None' to all __init__ methods. 2015-11-09 10:25:11 -08:00
Matthias Kramm
337abed05a add (overwrite with) mypy stubs, if available 2015-09-30 09:59:44 -07:00