From: Raymond Hettinger Date: Thu, 20 Jun 2002 06:18:26 +0000 (+0000) Subject: SF 563530 added missing methods for emulating numeric types X-Git-Tag: v2.2.2b1~309 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a18b3cb130fa9b10606b82172b9e4c5a5d6095cd;p=thirdparty%2FPython%2Fcpython.git SF 563530 added missing methods for emulating numeric types --- diff --git a/Doc/ref/ref3.tex b/Doc/ref/ref3.tex index 330daa3cf79b..bc98d41608cd 100644 --- a/Doc/ref/ref3.tex +++ b/Doc/ref/ref3.tex @@ -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}