mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-20 19:01:15 +08:00
Added missing type annotations in various stdlib stubs. (#4402)
Co-authored-by: Eric Traut <erictr@microsoft.com>
This commit is contained in:
@@ -11,7 +11,7 @@ _Number = TypeVar("_Number", float, Decimal, Fraction)
|
||||
|
||||
# Used in median_high, median_low
|
||||
class _Sortable(Protocol):
|
||||
def __lt__(self, other) -> bool: ...
|
||||
def __lt__(self, other: Any) -> bool: ...
|
||||
|
||||
_SortableT = TypeVar("_SortableT", bound=_Sortable)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user