David Euresti
b362177cc4
Fix typo
2017-03-20 22:36:44 -07:00
David Euresti
2804788efa
Bring some things back to Union types
2017-03-20 22:29:43 -07:00
David Euresti
a4d70e5b01
Bring some things back to Union types
2017-03-20 22:26:06 -07:00
David Euresti
eb5d8c9cf2
Missed some that were marked as str
2017-03-20 22:12:58 -07:00
David Euresti
66fbb26aec
Use Union[bytes, Text] in os.pyi
...
In order to unify these two versions I'm making all paths be _PathType = Union[bytes, Text]
Fixes #439
2017-03-20 21:56:14 -07:00
David Euresti and Łukasz Langa
d57bce361f
Reorder 2/os/__init__.py for combining
...
This was a simple reordering of the lines in the file so that it looks like 3/os/__init__.py.
This should let us more easily combine the files
2017-03-20 12:06:20 -07:00
David Euresti and Łukasz Langa
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 and Łukasz Langa
91ff50ad7a
Fix AbstractDigestAuthHandler to have correct types.
2017-02-22 20:29:17 -08:00
David Euresti and Łukasz Langa
70e39d9ad2
Fix and unify type of socket.getaddrinfo
2017-02-22 20:24:47 -08:00
David Euresti and Łukasz Langa
da11ecf773
Add missing __init__ and isclosed to http.client.HTTPResponse
2017-02-22 20:18:15 -08:00
David Euresti and Łukasz Langa
f7aedb4d21
Fix type annotations in fnmatch for Python 2.
...
Make some AnyStr others _EitherStr.
2017-02-22 20:15:35 -08:00
David Euresti and Łukasz Langa
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