File tree 1 file changed +3
-3
lines changed
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):
143
143
144
144
@abstractmethod
145
145
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."""
147
147
raise NotImplementedError
148
148
149
149
@abstractmethod
@@ -192,7 +192,7 @@ def __trunc__(self):
192
192
"""trunc(self): Truncates self to an Integral.
193
193
194
194
Returns an Integral i such that:
195
- * i> 0 iff self> 0;
195
+ * i > 0 iff self > 0;
196
196
* abs(i) <= abs(self);
197
197
* for any Integral j satisfying the first two conditions,
198
198
abs(i) >= abs(j) [i.e. i has "maximal" abs among those].
@@ -228,7 +228,7 @@ def __divmod__(self, other):
228
228
return (self // other , self % other )
229
229
230
230
def __rdivmod__ (self , other ):
231
- """divmod(other, self): The pair (self // other, self % other ).
231
+ """divmod(other, self): The pair (other // self, other % self ).
232
232
233
233
Sometimes this can be computed faster than the pair of
234
234
operations.
You can’t perform that action at this time.
0 commit comments