]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
SF 563530 added missing methods for emulating numeric types
authorRaymond Hettinger <python@rcn.com>
Thu, 20 Jun 2002 06:18:26 +0000 (06:18 +0000)
committerRaymond Hettinger <python@rcn.com>
Thu, 20 Jun 2002 06:18:26 +0000 (06:18 +0000)
Doc/ref/ref3.tex

index 330daa3cf79b4d795359e4b1a0339fda3cb5357e..bc98d41608cd148ac3036cd656b2f596f1d8565d 100644 (file)
@@ -1402,6 +1402,8 @@ the alternate context; \exception{TypeError} will be raised instead.
 \methodline[numeric object]{__rsub__}{self, other}
 \methodline[numeric object]{__rmul__}{self, other}
 \methodline[numeric object]{__rdiv__}{self, other}
+\methodline[numeric object]{__rtruediv__}{self, other}
+\methodline[numeric object]{__rfloordiv__}{self, other}                     
 \methodline[numeric object]{__rmod__}{self, other}
 \methodline[numeric object]{__rdivmod__}{self, other}
 \methodline[numeric object]{__rpow__}{self, other}
@@ -1430,6 +1432,8 @@ complicated).
 \methodline[numeric object]{__isub__}{self, other}
 \methodline[numeric object]{__imul__}{self, other}
 \methodline[numeric object]{__idiv__}{self, other}
+\methodline[numeric object]{__itruediv__}{self, other}
+\methodline[numeric object]{__ifloordiv__}{self, other}                     
 \methodline[numeric object]{__imod__}{self, other}
 \methodline[numeric object]{__ipow__}{self, other\optional{, modulo}}
 \methodline[numeric object]{__ilshift__}{self, other}