Commit Graph

10 Commits

Author SHA1 Message Date
Michael Walter
58efa1fe55 Update json.pyi (#957)
According to https://docs.python.org/3/library/json.html#json.loads, the s parameter can be "a str, bytes or bytearray instance".
2017-02-27 17:51:41 +00:00
Lukasz Langa
fe0e3744cc Fixing flake8 E261 errors 2016-12-19 22:09:35 -08:00
George King
00e4027b77 Add idx parameter to JSONDecoder.raw_decode. (#742) 2016-12-07 13:19:27 -08:00
George King
085c3f9915 Make json.load, json.loads stubs object_hook parameter optional. (#741) 2016-12-07 13:14:49 -08:00
Daniel F Moisset
0ffe3abf70 Adde JSON encoder and decoder objects (#499) 2016-08-25 08:33:39 -07:00
tewe
ab4734ff7f Use actual base type (#313)
Avoids "Exception type must be derived from BaseException"
2016-06-28 18:26:54 +01:00
FichteFoll
6537649fda json.dump{s,}' indent parameter also supports str (#175) 2016-05-01 17:50:03 -07:00
Robert T. McGibbon
dfd7ceecd8 Add type annotations for json.load(s) 2016-01-11 13:23:59 -08:00
Robert T. McGibbon
0735ec0251 Add keyword args to stdlib's json.pyi 2016-01-10 23:37:17 -08:00
Matthias Kramm
337abed05a add (overwrite with) mypy stubs, if available 2015-09-30 09:59:44 -07:00