mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-10 13:32:26 +08:00
Misc. changes to help pytype parse typeshed (#382)
This commit is contained in:
committed by
Matthias Kramm
parent
368c703078
commit
e02332a787
@@ -11,8 +11,8 @@ def enumerate() -> List[Thread]: ...
|
||||
|
||||
class Thread(object):
|
||||
name = ... # type: str
|
||||
ident = 0
|
||||
daemon = False
|
||||
ident = ... # type: Optional[int]
|
||||
daemon = ... # type: bool
|
||||
|
||||
def __init__(self, group: Any = ..., target: Callable[..., Any] = ...,
|
||||
name: str = ..., args: Sequence[Any] = ...,
|
||||
|
||||
Reference in New Issue
Block a user