mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
Enable --disallow-any-generics for stubs (#3288)
This commit is contained in:
committed by
Jelle Zijlstra
parent
23b353303b
commit
c32e1e2280
@@ -1,13 +1,12 @@
|
||||
# Source: https://hg.python.org/cpython/file/2.7/Lib/mutex.py
|
||||
|
||||
from collections import deque
|
||||
from typing import Any, Callable, TypeVar
|
||||
from typing import Any, Callable, Deque, TypeVar
|
||||
|
||||
_ArgType = TypeVar('_ArgType')
|
||||
|
||||
class mutex:
|
||||
locked: bool
|
||||
queue: deque
|
||||
queue: Deque[Any]
|
||||
def __init__(self) -> None: ...
|
||||
def test(self) -> bool: ...
|
||||
def testandset(self) -> bool: ...
|
||||
|
||||
Reference in New Issue
Block a user