mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-24 20:12:08 +08:00
Use explicit "# type: str" instead of '' shortcut.
This commit is contained in:
@@ -10,7 +10,7 @@ def currentThread() -> Thread: ...
|
||||
def enumerate() -> List[Thread]: ...
|
||||
|
||||
class Thread(object):
|
||||
name = ''
|
||||
name = ... # type: str
|
||||
ident = 0
|
||||
daemon = False
|
||||
|
||||
|
||||
Reference in New Issue
Block a user