Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 10cbe8d

Browse files
committed
SF 563530 added missing methods for emulating numeric types
1 parent 669f4c3 commit 10cbe8d

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

Doc/ref/ref3.tex

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1433,6 +1433,8 @@ \subsection{Emulating numeric types\label{numeric-types}}
14331433
\methodline[numeric object]{__rsub__}{self, other}
14341434
\methodline[numeric object]{__rmul__}{self, other}
14351435
\methodline[numeric object]{__rdiv__}{self, other}
1436+
\methodline[numeric object]{__rtruediv__}{self, other}
1437+
\methodline[numeric object]{__rfloordiv__}{self, other}
14361438
\methodline[numeric object]{__rmod__}{self, other}
14371439
\methodline[numeric object]{__rdivmod__}{self, other}
14381440
\methodline[numeric object]{__rpow__}{self, other}
@@ -1461,7 +1463,9 @@ \subsection{Emulating numeric types\label{numeric-types}}
14611463
\methodline[numeric object]{__isub__}{self, other}
14621464
\methodline[numeric object]{__imul__}{self, other}
14631465
\methodline[numeric object]{__idiv__}{self, other}
1464-
\methodline[numeric object]{__imod__}{self, other}
1466+
\methodline[numeric object]{__itruediv__}{self, other}
1467+
\methodline[numeric object]{__ifloordiv__}{self, other}
1468+
\methodline[numeric object]{__imod__}{self, other}
14651469
\methodline[numeric object]{__ipow__}{self, other\optional{, modulo}}
14661470
\methodline[numeric object]{__ilshift__}{self, other}
14671471
\methodline[numeric object]{__irshift__}{self, other}

0 commit comments

Comments
 (0)