mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-01 07:23:47 +08:00
Using dunder parameter name in builtins._SupportsLessThan (#4264)
This commit is contained in:
1 parent
70459abb44
commit
92fa4e799c
2 files changed
+2
-2
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user