Commit Graph
6 Commits
Author SHA1 Message Date
Siva Chandra 701f970c6f Add overrides for the methods 'readlines' and 'writelines' in TextIOBase. (#2551)
Without the overrides, MRO will pick the methods in IOBase which have
the wrong signatures.
2018-10-30 22:44:18 +01:00
Siva Chandra cec2202550 Widen the type of the file argument to Python 2's json.dump. (#2516) 2018-10-12 15:58:46 -07:00
Siva Chandra 1b37ca4297 Make csv.reader take Iterator[Text] argument instead of Iterator[str]. (#2508) 2018-10-05 13:10:41 -07:00
Siva Chandra f73d060042 Use Text under Python 2 in shutil.pyi. (#2471) 2018-09-25 20:25:04 -07:00
Siva Chandra 01abd34327 Use class with __call__ method instead of callable. (#2418)
This will enable checking positional and keyword parameters.
2018-09-03 09:50:01 -07:00
Siva Chandra 035774e022 Adjust return types of shed.scheduler.run. (#2050) 2018-04-13 21:00:27 -07:00