Misc. changes to help pytype parse typeshed (#382)

This commit is contained in:
alvarocaceres
2016-07-21 15:08:12 -05:00
committed by Matthias Kramm
parent 368c703078
commit e02332a787
5 changed files with 9 additions and 11 deletions

View File

@@ -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] = ...,