summaryrefslogtreecommitdiffstats
path: root/Doc/ref/ref3.tex
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2002-06-20 06:12:37 (GMT)
committerRaymond Hettinger <python@rcn.com>2002-06-20 06:12:37 (GMT)
commit10cbe8dcbc83c91ce94b42e18f4406bb2af9cc4a (patch)
tree3d00a59fa3199e2d8f6028a389724491b1d2925f /Doc/ref/ref3.tex
parent669f4c3850eaaf4e00a79032ef960a79e6ca6ad7 (diff)
downloadcpython-10cbe8dcbc83c91ce94b42e18f4406bb2af9cc4a.zip
cpython-10cbe8dcbc83c91ce94b42e18f4406bb2af9cc4a.tar.gz
cpython-10cbe8dcbc83c91ce94b42e18f4406bb2af9cc4a.tar.bz2
SF 563530 added missing methods for emulating numeric types
Diffstat (limited to 'Doc/ref/ref3.tex')
-rw-r--r--Doc/ref/ref3.tex6
1 files changed, 5 insertions, 1 deletions
diff --git a/Doc/ref/ref3.tex b/Doc/ref/ref3.tex
index c319fb8..d719db3 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}