Skip to content

Commit fd6c0e3

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
1 parent 12b636c commit fd6c0e3

File tree

1 file changed

+17
-5
lines changed

1 file changed

+17
-5
lines changed

stdlib/_operator.pyi

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
11
import sys
2-
from _typeshed import (SupportsGetItem, SupportsMul, SupportsRMul, SupportsDunderGE, SupportsDunderGT, SupportsDunderLE,
3-
SupportsDunderLT, SupportsBool, SupportsAdd, SupportsRAdd, SupportsSub, SupportsRSub)
2+
from _typeshed import (
3+
SupportsAdd,
4+
SupportsBool,
5+
SupportsDunderGE,
6+
SupportsDunderGT,
7+
SupportsDunderLE,
8+
SupportsDunderLT,
9+
SupportsGetItem,
10+
SupportsMul,
11+
SupportsRAdd,
12+
SupportsRMul,
13+
SupportsRSub,
14+
SupportsSub,
15+
)
416
from collections.abc import Callable, Container, Iterable, MutableMapping, MutableSequence, Sequence
517
from operator import attrgetter as attrgetter, itemgetter as itemgetter, methodcaller as methodcaller
618
from typing import Any, AnyStr, Protocol, SupportsAbs, SupportsIndex, TypeVar, overload, type_check_only
@@ -57,21 +69,21 @@ class _SupportsTrueDiv(Protocol[_T_contra, _T_co]):
5769
def __truediv__(self, other: _T_contra) -> _T_co: ...
5870

5971
@type_check_only
60-
class _SupportsRTrueDiv(Protocol[_T_contra, _T_co]):
72+
class _SupportsRTrueDiv(Protocol[_T_contra, _T_co]):
6173
def __rtruediv__(self, other: _T_contra) -> _T_co: ...
6274

6375
@type_check_only
6476
class _SupportsFloorDiv(Protocol[_T_contra, _T_co]):
6577
def __floordiv__(self, other: _T_contra) -> _T_co: ...
6678

6779
@type_check_only
68-
class _SupportsRFloorDiv(Protocol[_T_contra, _T_co]):
80+
class _SupportsRFloorDiv(Protocol[_T_contra, _T_co]):
6981
def __rfloordiv__(self, other: _T_contra) -> _T_co: ...
7082

7183
@type_check_only
7284
class _SupportsMod(Protocol[_T_contra, _T_co]):
7385
def __mod__(self, other: _T_contra) -> _T_co: ...
74-
86+
7587
@type_check_only
7688
class _SupportsRMod(Protocol[_T_contra, _T_co]):
7789
def __rmod__(self, other: _T_contra) -> _T_co: ...

0 commit comments

Comments
 (0)