File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ def __rtruediv__(self, other):
143143
144144 @abstractmethod
145145 def __pow__ (self , exponent ):
146- """self** exponent; should promote to float or complex when necessary."""
146+ """self ** exponent; should promote to float or complex when necessary."""
147147 raise NotImplementedError
148148
149149 @abstractmethod
@@ -192,7 +192,7 @@ def __trunc__(self):
192192 """trunc(self): Truncates self to an Integral.
193193
194194 Returns an Integral i such that:
195- * i> 0 iff self> 0;
195+ * i > 0 iff self > 0;
196196 * abs(i) <= abs(self);
197197 * for any Integral j satisfying the first two conditions,
198198 abs(i) >= abs(j) [i.e. i has "maximal" abs among those].
@@ -228,7 +228,7 @@ def __divmod__(self, other):
228228 return (self // other , self % other )
229229
230230 def __rdivmod__ (self , other ):
231- """divmod(other, self): The pair (self // other, self % other ).
231+ """divmod(other, self): The pair (other // self, other % self ).
232232
233233 Sometimes this can be computed faster than the pair of
234234 operations.
You can’t perform that action at this time.
0 commit comments