it's threading.Lock, not threading.LockType

This commit is contained in:
Matthias Kramm
2016-12-12 11:58:43 -08:00
committed by Łukasz Langa
parent ac97b22365
commit 7e6000949e

View File

@@ -129,7 +129,7 @@ class Filterer(object):
class Handler(Filterer):
level = ... # type: int
formatter = ... # type: Optional[Formatter]
lock = ... # type: Optional[threading.LockType]
lock = ... # type: Optional[threading.Lock]
def __init__(self, level: int = ...) -> None: ...
def createLock(self) -> None: ...
def acquire(self) -> None: ...