summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libfuncs.tex
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2005-05-31 11:04:00 (GMT)
committerRaymond Hettinger <python@rcn.com>2005-05-31 11:04:00 (GMT)
commitdede3bdfa1f6c8dd7f27848c9f43c8a17ed50e9f (patch)
tree420fad636708cf292a307ad57c2f77c1922ba603 /Doc/lib/libfuncs.tex
parent7bebbe76737f123759f840577c353fde7d104ab1 (diff)
downloadcpython-dede3bdfa1f6c8dd7f27848c9f43c8a17ed50e9f.zip
cpython-dede3bdfa1f6c8dd7f27848c9f43c8a17ed50e9f.tar.gz
cpython-dede3bdfa1f6c8dd7f27848c9f43c8a17ed50e9f.tar.bz2
SF bug #1209411: divmod documentation shd reference // not /
Diffstat (limited to 'Doc/lib/libfuncs.tex')
-rw-r--r--Doc/lib/libfuncs.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/lib/libfuncs.tex b/Doc/lib/libfuncs.tex
index 7b990e9..cd14865 100644
--- a/Doc/lib/libfuncs.tex
+++ b/Doc/lib/libfuncs.tex
@@ -297,7 +297,7 @@ class C:
consisting of their quotient and remainder when using long division. With
mixed operand types, the rules for binary arithmetic operators apply. For
plain and long integers, the result is the same as
- \code{(\var{a} / \var{b}, \var{a} \%{} \var{b})}.
+ \code{(\var{a} // \var{b}, \var{a} \%{} \var{b})}.
For floating point numbers the result is \code{(\var{q}, \var{a} \%{}
\var{b})}, where \var{q} is usually \code{math.floor(\var{a} /
\var{b})} but may be 1 less than that. In any case \code{\var{q} *