Commit Graph
6 Commits
Author SHA1 Message Date
David Euresti d43f3be914 Unify stdlib/{2,3}/typing.pyi
Also fix signature of IO.seek, IO.truncate, IO.write, and MutableMapping.update
Fixes #1016

Note: I couldn't put typing.pyi in 2and3 because of an import cycle when adding `import sys` to 2/typing.pyi
2017-03-19 09:43:40 -07:00
David Euresti 91ff50ad7a Fix AbstractDigestAuthHandler to have correct types. 2017-02-22 20:29:17 -08:00
David Euresti 70e39d9ad2 Fix and unify type of socket.getaddrinfo 2017-02-22 20:24:47 -08:00
David Euresti da11ecf773 Add missing __init__ and isclosed to http.client.HTTPResponse 2017-02-22 20:18:15 -08:00
David Euresti f7aedb4d21 Fix type annotations in fnmatch for Python 2.
Make some AnyStr others _EitherStr.
2017-02-22 20:15:35 -08:00
David Euresti 8a8680371a Fix type for six.reraise to make it match sys.exc_info()
The docs for six say the simple case is `reraise(*sys.exc_info())`
2016-12-28 11:15:27 -08:00