mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-28 06:36:54 +08:00
Use explicit "# type: str" instead of '' shortcut.
This commit is contained in:
@@ -18,7 +18,7 @@ class _TracebackLogger:
|
||||
def __del__(self) -> None: ...
|
||||
|
||||
class Future(Iterator[_T], Generic[_T]):
|
||||
_state = ''
|
||||
_state = ... # type: str
|
||||
_exception = Any #Exception
|
||||
_blocking = False
|
||||
_log_traceback = False
|
||||
|
||||
@@ -9,7 +9,7 @@ class Enum:
|
||||
def __hash__(self) -> Any: ...
|
||||
def __reduce_ex__(self, proto: Any) -> Any: ...
|
||||
|
||||
name = ''
|
||||
name = ... # type: str
|
||||
value = None # type: Any
|
||||
|
||||
class IntEnum(int, Enum): ...
|
||||
|
||||
Reference in New Issue
Block a user