Using dunder parameter name in builtins._SupportsLessThan (#4264)

This commit is contained in:
Jia Chen authored and GitHub committed 2020-06-25 21:02:00 +02:00
1 parent 70459abb44
commit 92fa4e799c
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -33,7 +33,7 @@ class _SupportsIndex(Protocol):
def __index__(self) -> int: ...
class _SupportsLessThan(Protocol):
def __lt__(self, other: Any) -> bool: ...
def __lt__(self, __other: Any) -> bool: ...
_T = TypeVar('_T')
_T_co = TypeVar('_T_co', covariant=True)