From 10cbe8dcbc83c91ce94b42e18f4406bb2af9cc4a Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Thu, 20 Jun 2002 06:12:37 +0000 Subject: [PATCH] SF 563530 added missing methods for emulating numeric types --- Doc/ref/ref3.tex | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Doc/ref/ref3.tex b/Doc/ref/ref3.tex index c319fb8250..d719db31d0 100644 --- a/Doc/ref/ref3.tex +++ b/Doc/ref/ref3.tex @@ -1433,6 +1433,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} @@ -1461,7 +1463,9 @@ complicated). \methodline[numeric object]{__isub__}{self, other} \methodline[numeric object]{__imul__}{self, other} \methodline[numeric object]{__idiv__}{self, other} -\methodline[numeric object]{__imod__}{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} \methodline[numeric object]{__irshift__}{self, other} -- 2.50.0