Elazar Gershuni
dfe4bf0a70
Fix broken sys.version_info check in importlib/abc.pyi ( #673 )
...
Fixes #672 .
2016-11-09 08:43:06 -08:00
Elazar Gershuni
58d60343ba
fix self for thirdparty ( #646 )
2016-10-30 15:02:23 -07:00
Elazar Gershuni
090667c7b2
fix self in urllib ( #643 )
2016-10-30 15:01:46 -07:00
Elazar Gershuni
59f86e1b6a
fix self type for stdlib/2 ( #645 )
2016-10-30 14:51:52 -07:00
Elazar Gershuni
252a772b67
fix self in ssl, unittest and multiprocessing/managers ( #644 )
2016-10-30 12:20:03 -07:00
Elazar Gershuni
1d47c6fdb8
Directly import ABCMeta (and abstractmethod) from abc ( #640 )
...
This change is needed for mypy/#2365.
2016-10-30 11:30:22 -07:00
Elazar Gershuni
7a623f2cea
Dedicated TypeVar for type.__subclasses__ ( #639 )
2016-10-30 10:29:51 -07:00
Elazar
7224b67532
Remove @builtinclass ( #626 )
2016-10-22 12:25:02 -07:00
Elazar
1d820d48cf
Add signatures for cast() and NewType ( #549 )
...
(Mypy ignores these in favor of hard-coded behaviors, but the signatures here may be useful for other tools.)
2016-09-14 14:55:06 -07:00
Elazar
e25b882041
Full signature for namedtuple ( #541 )
2016-09-13 16:17:26 -07:00
Elazar
59585bbf54
Update signature of ConfigParser.get() ( #501 )
...
Fix #492
Also add RawConfigParser
2016-08-29 12:44:30 -07:00
Elazar
f1047ec005
Stub: asyncore.pyi ( #498 )
...
* Stub: asyncore.pyi
I can't really test this stub since I don't use this module. I believe it's not far from the real thing.
It's based on the source code and not on the documentation.
https://hg.python.org/cpython/file/default/Lib/asyncore.py
* Option ->Optional
* add hint to count, remove addr
* make read/write explicit functions
* add synchat.pyi, move to 2and3
* change sys.version_info test
* try reversing the syntax
2016-08-26 13:34:42 -07:00
Elazar
e4b56b1be8
Stub for pyclbr.py ( #487 )
...
* Stub for pyclbr.pyi
* Quote opaque type with ""
2016-08-24 06:08:46 -07:00
Elazar
3d32e2e661
Remove namedtuple workaround ( #479 )
...
This is a dependency for PR #1076 .
2016-08-17 11:54:13 -07:00
Elazar
8fb9f4a8f1
Add stubs for dis and opcode ( #331 )
2016-07-05 10:18:58 -07:00