From 92fa4e799c8e797f6d7d1f0134026f15c3601b4d Mon Sep 17 00:00:00 2001 From: Jia Chen Date: Thu, 25 Jun 2020 12:02:00 -0700 Subject: [PATCH] Using dunder parameter name in `builtins._SupportsLessThan` (#4264) --- stdlib/2/__builtin__.pyi | 2 +- stdlib/2and3/builtins.pyi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/stdlib/2/__builtin__.pyi b/stdlib/2/__builtin__.pyi index 2ef4c0e0c..97722e453 100644 --- a/stdlib/2/__builtin__.pyi +++ b/stdlib/2/__builtin__.pyi @@ -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) diff --git a/stdlib/2and3/builtins.pyi b/stdlib/2and3/builtins.pyi index 2ef4c0e0c..97722e453 100644 --- a/stdlib/2and3/builtins.pyi +++ b/stdlib/2and3/builtins.pyi @@ -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)