Files
typeshed/stdlib/3
Jakub Stasiak 41f0e7c8b6 Define three argument type() overload (Python 3)
This was missing for some reason while the Python 2.7 stubs have it.

Sample test code:

% cat testtype.py
A = type('A', (), {})
print(A.__name__)

Results before:

% python -m mypy --py2 testtype.py
% python -m mypy testtype.py
testtype.py:1: error: Too many arguments for "type"
%

Results after: type checking passes in both modes.
2016-03-03 09:19:59 +00:00
..
2016-02-04 15:38:42 +00:00
2015-11-22 16:28:54 -08:00
2015-10-12 08:17:25 -07:00
2016-02-22 17:44:07 -06:00
2016-01-11 13:23:59 -08:00
2016-01-16 16:54:47 -05:00
2016-02-25 09:41:32 +00:00
2015-12-30 21:59:56 +01:00
2016-02-05 11:28:16 -08:00
2016-01-16 16:52:01 -05:00
2015-10-01 14:53:57 -07:00