Michael Lee
c10198db11
Add the selectors module ( #484 )
...
* Correct some type errors
* Use Any instead of Optional[Any]
2016-08-23 18:57:46 -07:00
Michael Lee
313b584e34
Add stubs for ujson ( #460 )
2016-08-11 17:08:03 -07:00
Michael Lee
8fd2aca9a4
Fix stubs for glob to include Python 3.4+ changes ( #461 )
2016-08-10 12:06:00 -07:00
Michael Lee
9ecc1f2147
Add stubs for NewType helper function ( #398 )
...
(Note that this is not enough to support NewType(). However it's a prerequisite for the mypy implementation.)
2016-07-26 07:35:28 -07:00
Michael Lee
368c703078
Add dict views to python 2 ( #376 )
2016-07-21 11:28:35 -07:00
Michael Lee
adc6bf5f94
Update set methods to take multiple iterables ( #349 )
...
As of Python 2.7, you can pass in multiple iterables into some set
methods like union, intersection, difference, and update. So, for
example, `new_set = a.union(b, c)`.
2016-07-07 11:52:22 -07:00
Michael Lee
ce59cd4056
Add missing 3.3+ and 3.5+ math functions ( #164 )
...
Python 3.3 added the `math.log2` function; Python 3.5 added
`math.gcd`, `math.inf`, `math.isclose`, and `math.nan`.
2016-04-25 21:40:40 -07:00