mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-19 14:59:48 +08:00
Remove bare Incomplete annotations in third-party stubs (#11671)
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
from _typeshed import Incomplete
|
||||
from collections.abc import Callable
|
||||
from typing import Any
|
||||
|
||||
def pdb_on_signal(signalnum: int | None = None) -> None: ...
|
||||
def pdb_on_exception(limit: int = 100) -> None: ...
|
||||
def wrap_trace(
|
||||
obj: Incomplete, hook: Callable[..., Any] = ..., which: str | None = None, events: str | None = None, label: str | None = None
|
||||
) -> Incomplete: ...
|
||||
obj, hook: Callable[..., Any] = ..., which: str | None = None, events: str | None = None, label: str | None = None
|
||||
): ...
|
||||
|
||||
@@ -1,12 +1,11 @@
|
||||
from binascii import Incomplete
|
||||
from typing_extensions import TypeAlias
|
||||
|
||||
class BasePriorityQueue:
|
||||
def __init__(self, **kw) -> None: ...
|
||||
def add(self, task, priority: int | None = None) -> None: ...
|
||||
def remove(self, task) -> None: ...
|
||||
def peek(self, default=...) -> Incomplete: ...
|
||||
def pop(self, default=...) -> Incomplete: ...
|
||||
def peek(self, default=...): ...
|
||||
def pop(self, default=...): ...
|
||||
def __len__(self) -> int: ...
|
||||
|
||||
class HeapPriorityQueue(BasePriorityQueue): ...
|
||||
|
||||
Reference in New Issue
Block a user