@@ -60,16 +60,16 @@ class Real(Complex, SupportsFloat, SupportsRound):
6060 def conjugate (self ) -> Real : ...
6161
6262 @abstractmethod
63- def __add__ (self , other : Real ) -> Real : ...
64- def __neg__ (self ) -> Real : ...
63+ def __add__ (self , other : Real ) -> Real : ... # type: ignore
64+ def __neg__ (self ) -> Real : ... # type: ignore
6565 @abstractmethod
66- def __mul__ (self , other : Real ) -> Real : ...
66+ def __mul__ (self , other : Real ) -> Real : ... # type: ignore
6767 if sys .version_info >= (3 ,):
6868 @abstractmethod
69- def __truediv__ (self , other : Real ) -> Real : ...
69+ def __truediv__ (self , other : Real ) -> Real : ... # type: ignore
7070 else :
7171 @abstractmethod
72- def __div__ (self , other : Real ) -> Real : ...
72+ def __div__ (self , other : Real ) -> Real : ... # type: ignore
7373
7474class Rational (Real ):
7575 @property
@@ -81,88 +81,88 @@ class Rational(Real):
8181 def __float__ (self ) -> float : ...
8282
8383 @abstractmethod
84- def __divmod__ (self , other : Rational ) -> Rational : ...
84+ def __divmod__ (self , other : Rational ) -> Rational : ... # type: ignore
8585 @abstractmethod
86- def __floordiv__ (self , other : Rational ) -> Rational : ...
86+ def __floordiv__ (self , other : Rational ) -> Rational : ... # type: ignore
8787 @abstractmethod
88- def __mod__ (self , other : Rational ) -> Rational : ...
88+ def __mod__ (self , other : Rational ) -> Rational : ... # type: ignore
8989 @abstractmethod
90- def __lt__ (self , other : Rational , float ) -> bool : ...
90+ def __lt__ (self , other : Rational , float ) -> bool : ... # type: ignore
9191 @abstractmethod
92- def __le__ (self , other : Rational ) -> bool : ...
92+ def __le__ (self , other : Rational ) -> bool : ... # type: ignore
9393 @abstractmethod
94- def __gt__ (self , other : Rational ) -> bool : ...
94+ def __gt__ (self , other : Rational ) -> bool : ... # type: ignore
9595 @abstractmethod
96- def __ge__ (self , other : Rational ) -> bool : ...
96+ def __ge__ (self , other : Rational ) -> bool : ... # type: ignore
9797 def __complex__ (self ) -> Complex : ... # type: ignore
9898 @property
99- def real (self ) -> Rational : ...
99+ def real (self ) -> Rational : ... # type: ignore
100100 @property
101- def imag (self ) -> Rational : ...
102- def conjugate (self ) -> Rational : ...
101+ def imag (self ) -> Rational : ... # type: ignore
102+ def conjugate (self ) -> Rational : ... # type: ignore
103103
104104 @abstractmethod
105- def __add__ (self , other : Rational ) -> Rational : ...
105+ def __add__ (self , other : Rational ) -> Rational : ... # type: ignore
106106 def __neg__ (self ) -> Rational : ...
107107 @abstractmethod
108- def __mul__ (self , other : Rational ) -> Rational : ...
108+ def __mul__ (self , other : Rational ) -> Rational : ... # type: ignore
109109 if sys .version_info >= (3 ,):
110110 @abstractmethod
111- def __truediv__ (self , other : Rational ) -> Rational : ...
111+ def __truediv__ (self , other : Rational ) -> Rational : ... # type: ignore
112112 else :
113113 @abstractmethod
114- def __div__ (self , other : Rational ) -> Rational : ...
114+ def __div__ (self , other : Rational ) -> Rational : ... # type: ignore
115115
116116class Integral (Rational , SupportsInt , SupportsAbs [int ]):
117117 @property
118- def numerator (self ) -> int : ...
118+ def numerator (self ) -> int : ... # type: ignore
119119 @property
120- def denominator (self ) -> int : ...
120+ def denominator (self ) -> int : ... # type: ignore
121121 @abstractmethod
122- def __pow__ (self , exponent : float ,
122+ def __pow__ (self , exponent : float , # type: ignore
123123 modulus : Optional [int ] = ...) -> Integral : ...
124124 @abstractmethod
125- def __lshift__ (self , other : Integral ) -> Integral : ...
125+ def __lshift__ (self , other : Integral ) -> Integral : ... # type: ignore
126126 @abstractmethod
127- def __rshift__ (self , other : Integral ) -> Integral : ...
127+ def __rshift__ (self , other : Integral ) -> Integral : ... # type: ignore
128128 @abstractmethod
129- def __and__ (self , other : Integral ) -> Integral : ...
129+ def __and__ (self , other : Integral ) -> Integral : ... # type: ignore
130130 @abstractmethod
131- def __xor__ (self , other : Integral ) -> Integral : ...
131+ def __xor__ (self , other : Integral ) -> Integral : ... # type: ignore
132132 @abstractmethod
133- def __or__ (self , other : Integral ) -> Integral : ...
133+ def __or__ (self , other : Integral ) -> Integral : ... # type: ignore
134134 @abstractmethod
135- def __invert__ (self ) -> Integral : ...
135+ def __invert__ (self ) -> Integral : ... # type: ignore
136136
137137 @abstractmethod
138- def __divmod__ (self , other : Integral ) -> Integral : ...
138+ def __divmod__ (self , other : Integral ) -> Integral : ... # type: ignore
139139 @abstractmethod
140- def __floordiv__ (self , other : Integral ) -> Integral : ...
140+ def __floordiv__ (self , other : Integral ) -> Integral : ... # type: ignore
141141 @abstractmethod
142- def __mod__ (self , other : Integral ) -> Integral : ...
142+ def __mod__ (self , other : Integral ) -> Integral : ... # type: ignore
143143 @abstractmethod
144- def __lt__ (self , other : Integral ) -> bool : ...
144+ def __lt__ (self , other : Integral ) -> bool : ... # type: ignore
145145 @abstractmethod
146- def __le__ (self , other : Integral ) -> bool : ...
146+ def __le__ (self , other : Integral ) -> bool : ... # type: ignore
147147 @abstractmethod
148- def __gt__ (self , other : Integral ) -> bool : ...
148+ def __gt__ (self , other : Integral ) -> bool : ... # type: ignore
149149 @abstractmethod
150- def __ge__ (self , other : Integral ) -> bool : ...
150+ def __ge__ (self , other : Integral ) -> bool : ... # type: ignore
151151 def __complex__ (self ) -> Complex : ... # type: ignore
152152 @property
153- def real (self ) -> Integral : ...
153+ def real (self ) -> Integral : ... # type: ignore
154154 @property
155- def imag (self ) -> Integral : ...
156- def conjugate (self ) -> Integral : ...
155+ def imag (self ) -> Integral : ... # type: ignore
156+ def conjugate (self ) -> Integral : ... # type: ignore
157157
158158 @abstractmethod
159- def __add__ (self , other : Integral ) -> Integral : ...
160- def __neg__ (self ) -> Integral : ...
159+ def __add__ (self , other : Integral ) -> Integral : ... # type: ignore
160+ def __neg__ (self ) -> Integral : ... # type: ignore
161161 @abstractmethod
162- def __mul__ (self , other : Integral ) -> Integral : ...
162+ def __mul__ (self , other : Integral ) -> Integral : ... # type: ignore
163163 if sys .version_info >= (3 ,):
164164 @abstractmethod
165- def __truediv__ (self , other : Integral ) -> Integral : ...
165+ def __truediv__ (self , other : Integral ) -> Integral : ... # type: ignore
166166 else :
167167 @abstractmethod
168- def __div__ (self , other : Integral ) -> Integral : ...
168+ def __div__ (self , other : Integral ) -> Integral : ... # type: ignore
0 commit comments