commit | bcc0db82dc9cb474d56a4cc63748583232d9524f | [log] [tgz] |
---|---|---|
author | Neal Norwitz <nnorwitz@gmail.com> | Fri Mar 24 08:14:36 2006 +0000 |
committer | Neal Norwitz <nnorwitz@gmail.com> | Fri Mar 24 08:14:36 2006 +0000 |
tree | 0107d20b29b61fc7dfd9626ee7257242f8cf6302 | |
parent | ed483ba63b9c03845386976bccff5d95df5b570a [diff] [blame] |
Get rid of remnants of integer division
diff --git a/Lib/test/test_coercion.py b/Lib/test/test_coercion.py index ceea17b..e12ef0d 100644 --- a/Lib/test/test_coercion.py +++ b/Lib/test/test_coercion.py
@@ -44,10 +44,10 @@ def __rmul__(self,other): return other * self.arg - def __div__(self,other): + def __truediv__(self,other): return self.arg / other - def __rdiv__(self,other): + def __rtruediv__(self,other): return other / self.arg def __pow__(self,other):