@@ -77,28 +77,28 @@ class Decimal:
77
77
def as_integer_ratio (self ) -> tuple [int , int ]: ...
78
78
def to_eng_string (self , context : Context | None = None ) -> str : ...
79
79
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 : ...
90
90
def __neg__ (self ) -> Decimal : ...
91
91
def __pos__ (self ) -> Decimal : ...
92
- def __pow__ (self , __other : _Decimal , __modulo : _Decimal | 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 : ...
92
+ def __pow__ (self , __value : _Decimal , __mod : _Decimal | None = None ) -> 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 : ...
102
102
def remainder_near (self , other : _Decimal , context : Context | None = None ) -> Decimal : ...
103
103
def __float__ (self ) -> float : ...
104
104
def __int__ (self ) -> int : ...
@@ -116,7 +116,7 @@ class Decimal:
116
116
def __floor__ (self ) -> int : ...
117
117
def __ceil__ (self ) -> int : ...
118
118
def fma (self , other : _Decimal , third : _Decimal , context : Context | None = None ) -> Decimal : ...
119
- def __rpow__ (self , __other : _Decimal , __context : Context | None = ... ) -> Decimal : ...
119
+ def __rpow__ (self , __value : _Decimal , __mod : Context | None = None ) -> Decimal : ...
120
120
def normalize (self , context : Context | None = None ) -> Decimal : ...
121
121
def quantize (self , exp : _Decimal , rounding : str | None = None , context : Context | None = None ) -> Decimal : ...
122
122
def same_quantum (self , other : _Decimal , context : Context | None = None ) -> bool : ...
0 commit comments