Skip to content

Commit 5e6b172

Browse files
authored
stdlib/_decimal.pyi: correct many parameter names (#9769)
1 parent 40d853c commit 5e6b172

1 file changed

Lines changed: 19 additions & 19 deletions

File tree

stdlib/_decimal.pyi

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -77,28 +77,28 @@ class Decimal:
7777
def as_integer_ratio(self) -> tuple[int, int]: ...
7878
def to_eng_string(self, context: Context | None = None) -> str: ...
7979
def __abs__(self) -> Decimal: ...
80-
def __add__(self, __other: _Decimal) -> Decimal: ...
81-
def __divmod__(self, __other: _Decimal) -> tuple[Decimal, Decimal]: ...
82-
def __eq__(self, __other: object) -> bool: ...
83-
def __floordiv__(self, __other: _Decimal) -> Decimal: ...
84-
def __ge__(self, __other: _ComparableNum) -> bool: ...
85-
def __gt__(self, __other: _ComparableNum) -> bool: ...
86-
def __le__(self, __other: _ComparableNum) -> bool: ...
87-
def __lt__(self, __other: _ComparableNum) -> bool: ...
88-
def __mod__(self, __other: _Decimal) -> Decimal: ...
89-
def __mul__(self, __other: _Decimal) -> Decimal: ...
80+
def __add__(self, __value: _Decimal) -> Decimal: ...
81+
def __divmod__(self, __value: _Decimal) -> tuple[Decimal, Decimal]: ...
82+
def __eq__(self, __value: object) -> bool: ...
83+
def __floordiv__(self, __value: _Decimal) -> Decimal: ...
84+
def __ge__(self, __value: _ComparableNum) -> bool: ...
85+
def __gt__(self, __value: _ComparableNum) -> bool: ...
86+
def __le__(self, __value: _ComparableNum) -> bool: ...
87+
def __lt__(self, __value: _ComparableNum) -> bool: ...
88+
def __mod__(self, __value: _Decimal) -> Decimal: ...
89+
def __mul__(self, __value: _Decimal) -> Decimal: ...
9090
def __neg__(self) -> Decimal: ...
9191
def __pos__(self) -> Decimal: ...
9292
def __pow__(self, __value: _Decimal, __mod: _Decimal | None = None) -> Decimal: ...
93-
def __radd__(self, __other: _Decimal) -> Decimal: ...
94-
def __rdivmod__(self, __other: _Decimal) -> tuple[Decimal, Decimal]: ...
95-
def __rfloordiv__(self, __other: _Decimal) -> Decimal: ...
96-
def __rmod__(self, __other: _Decimal) -> Decimal: ...
97-
def __rmul__(self, __other: _Decimal) -> Decimal: ...
98-
def __rsub__(self, __other: _Decimal) -> Decimal: ...
99-
def __rtruediv__(self, __other: _Decimal) -> Decimal: ...
100-
def __sub__(self, __other: _Decimal) -> Decimal: ...
101-
def __truediv__(self, __other: _Decimal) -> Decimal: ...
93+
def __radd__(self, __value: _Decimal) -> Decimal: ...
94+
def __rdivmod__(self, __value: _Decimal) -> tuple[Decimal, Decimal]: ...
95+
def __rfloordiv__(self, __value: _Decimal) -> Decimal: ...
96+
def __rmod__(self, __value: _Decimal) -> Decimal: ...
97+
def __rmul__(self, __value: _Decimal) -> Decimal: ...
98+
def __rsub__(self, __value: _Decimal) -> Decimal: ...
99+
def __rtruediv__(self, __value: _Decimal) -> Decimal: ...
100+
def __sub__(self, __value: _Decimal) -> Decimal: ...
101+
def __truediv__(self, __value: _Decimal) -> Decimal: ...
102102
def remainder_near(self, other: _Decimal, context: Context | None = None) -> Decimal: ...
103103
def __float__(self) -> float: ...
104104
def __int__(self) -> int: ...

0 commit comments

Comments
 (0)