Commit Graph

7 Commits

Author SHA1 Message Date
Dakkaron
25f5c9c6f8 Added type annotations and small fixes (#219)
* json.loads() accepts unicode

* threading.BoundedSemaphore is subclass of Semaphore

* Added type annotations for logging/__init__.pyi and logging/handlers.pyi

* Changed style of variable declaration to fit the rest of the file
2016-05-23 09:16:01 -07:00
Daniel Shaulov
14ffe7ea17 Inherit from Any in threading.local and SimpleNamespace 2016-01-22 12:24:36 +02:00
Daniel Shaulov
01d96e4ac4 Fix signatures of __init__ for Thread and Timer 2016-01-16 00:21:24 +02:00
Guido van Rossum
00f8e62751 Add __getattr__(), __setattr__(), __delattr__() to 2.7 threading.local(). 2015-11-25 16:57:52 -08:00
Matthias Kramm
94c9ce8fd0 Consistently use '= ...' for optional parameters. 2015-11-09 13:55:02 -08:00
Matthias Kramm
d2a3d4a4ed Use explicit "# type: str" instead of '' shortcut. 2015-11-09 07:59:24 -08:00
Matthias Kramm
337abed05a add (overwrite with) mypy stubs, if available 2015-09-30 09:59:44 -07:00