mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 05:51:52 +08:00
Use PEP 570 syntax in stdlib (#11250)
This commit is contained in:
@@ -253,7 +253,7 @@ class HTTPHandler(Handler):
|
||||
|
||||
class _QueueLike(Protocol[_T]):
|
||||
def get(self) -> _T: ...
|
||||
def put_nowait(self, __item: _T) -> None: ...
|
||||
def put_nowait(self, item: _T, /) -> None: ...
|
||||
|
||||
class QueueHandler(Handler):
|
||||
queue: _QueueLike[Any]
|
||||
|
||||
Reference in New Issue
Block a user