Added missing type annotations in various stdlib stubs. (#4402)

Co-authored-by: Eric Traut <erictr@microsoft.com>
This commit is contained in:
Eric Traut
2020-08-06 18:27:21 -07:00
committed by GitHub
parent 10a5b070ab
commit baaffed1ac
7 changed files with 43 additions and 42 deletions

View File

@@ -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)