mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
Use variable annotations everywhere (#2909)
This commit is contained in:
committed by
Sebastian Rittau
parent
b3c76aab49
commit
efb67946f8
@@ -6,8 +6,8 @@ from typing import Any, Callable, TypeVar
|
||||
_ArgType = TypeVar('_ArgType')
|
||||
|
||||
class mutex:
|
||||
locked = ... # type: bool
|
||||
queue = ... # type: deque
|
||||
locked: bool
|
||||
queue: deque
|
||||
def __init__(self) -> None: ...
|
||||
def test(self) -> bool: ...
|
||||
def testandset(self) -> bool: ...
|
||||
|
||||
Reference in New Issue
Block a user