Commit Graph

10 Commits

Author SHA1 Message Date
David Fisher
1a10134d54 Fix up uses of Future as an argument in asyncio
Most functions which can take a Future can take Generators as well.
2016-01-19 16:53:52 -08:00
Guido van Rossum
a080d6cee5 Make Future stub resemble reality better. 2016-01-19 14:23:09 -08:00
Guido van Rossum
107104dfe5 Fix type annotation syntax used in asyncio/futures.pyi. 2015-12-04 11:43:45 -08:00
Roy Williams
7f22db0492 Add Async classes to typing stub. 2015-12-01 23:36:19 -08:00
Matthias Kramm
94c9ce8fd0 Consistently use '= ...' for optional parameters. 2015-11-09 13:55:02 -08:00
Matthias Kramm
d2a3d4a4ed Use explicit "# type: str" instead of '' shortcut. 2015-11-09 07:59:24 -08:00
Ben Longbons
c2f892a409 Fix stubs that assumed reexport without as 2015-10-19 20:02:39 -07:00
Vita Smid
4d39065569 Change Queue.put return type to Future[None] 2015-10-12 08:15:41 -07:00
Vita Smid
b90372f226 Fixed Queue.get and Queue.put return types. 2015-10-12 08:09:22 -07:00
Matthias Kramm
337abed05a add (overwrite with) mypy stubs, if available 2015-09-30 09:59:44 -07:00