mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 12:44:28 +08:00
stdlib/_decimal.pyi: correct many parameter names (#9769)
This commit is contained in:
@@ -77,28 +77,28 @@ class Decimal:
|
||||
def as_integer_ratio(self) -> tuple[int, int]: ...
|
||||
def to_eng_string(self, context: Context | None = None) -> str: ...
|
||||
def __abs__(self) -> Decimal: ...
|
||||
def __add__(self, __other: _Decimal) -> Decimal: ...
|
||||
def __divmod__(self, __other: _Decimal) -> tuple[Decimal, Decimal]: ...
|
||||
def __eq__(self, __other: object) -> bool: ...
|
||||
def __floordiv__(self, __other: _Decimal) -> Decimal: ...
|
||||
def __ge__(self, __other: _ComparableNum) -> bool: ...
|
||||
def __gt__(self, __other: _ComparableNum) -> bool: ...
|
||||
def __le__(self, __other: _ComparableNum) -> bool: ...
|
||||
def __lt__(self, __other: _ComparableNum) -> bool: ...
|
||||
def __mod__(self, __other: _Decimal) -> Decimal: ...
|
||||
def __mul__(self, __other: _Decimal) -> Decimal: ...
|
||||
def __add__(self, __value: _Decimal) -> Decimal: ...
|
||||
def __divmod__(self, __value: _Decimal) -> tuple[Decimal, Decimal]: ...
|
||||
def __eq__(self, __value: object) -> bool: ...
|
||||
def __floordiv__(self, __value: _Decimal) -> Decimal: ...
|
||||
def __ge__(self, __value: _ComparableNum) -> bool: ...
|
||||
def __gt__(self, __value: _ComparableNum) -> bool: ...
|
||||
def __le__(self, __value: _ComparableNum) -> bool: ...
|
||||
def __lt__(self, __value: _ComparableNum) -> bool: ...
|
||||
def __mod__(self, __value: _Decimal) -> Decimal: ...
|
||||
def __mul__(self, __value: _Decimal) -> Decimal: ...
|
||||
def __neg__(self) -> Decimal: ...
|
||||
def __pos__(self) -> Decimal: ...
|
||||
def __pow__(self, __value: _Decimal, __mod: _Decimal | None = None) -> Decimal: ...
|
||||
def __radd__(self, __other: _Decimal) -> Decimal: ...
|
||||
def __rdivmod__(self, __other: _Decimal) -> tuple[Decimal, Decimal]: ...
|
||||
def __rfloordiv__(self, __other: _Decimal) -> Decimal: ...
|
||||
def __rmod__(self, __other: _Decimal) -> Decimal: ...
|
||||
def __rmul__(self, __other: _Decimal) -> Decimal: ...
|
||||
def __rsub__(self, __other: _Decimal) -> Decimal: ...
|
||||
def __rtruediv__(self, __other: _Decimal) -> Decimal: ...
|
||||
def __sub__(self, __other: _Decimal) -> Decimal: ...
|
||||
def __truediv__(self, __other: _Decimal) -> Decimal: ...
|
||||
def __radd__(self, __value: _Decimal) -> Decimal: ...
|
||||
def __rdivmod__(self, __value: _Decimal) -> tuple[Decimal, Decimal]: ...
|
||||
def __rfloordiv__(self, __value: _Decimal) -> Decimal: ...
|
||||
def __rmod__(self, __value: _Decimal) -> Decimal: ...
|
||||
def __rmul__(self, __value: _Decimal) -> Decimal: ...
|
||||
def __rsub__(self, __value: _Decimal) -> Decimal: ...
|
||||
def __rtruediv__(self, __value: _Decimal) -> Decimal: ...
|
||||
def __sub__(self, __value: _Decimal) -> Decimal: ...
|
||||
def __truediv__(self, __value: _Decimal) -> Decimal: ...
|
||||
def remainder_near(self, other: _Decimal, context: Context | None = None) -> Decimal: ...
|
||||
def __float__(self) -> float: ...
|
||||
def __int__(self) -> int: ...
|
||||
|
||||
Reference in New Issue
Block a user