Commit Graph
8 Commits
Author SHA1 Message Date
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