diff Doc/lib/libstdtypes.tex @ 34976:1873e8af5a8a legacy-trunk

SF bug #1209411: divmod documentation shd reference // not /
author Raymond Hettinger <python@rcn.com>
date Tue, 31 May 2005 11:04:00 +0000
parents 5e511ddef48b
children db1676fdb5b9
line wrap: on
line diff
--- a/Doc/lib/libstdtypes.tex	Tue May 31 10:26:28 2005 +0000
+++ b/Doc/lib/libstdtypes.tex	Tue May 31 11:04:00 2005 +0000
@@ -256,7 +256,7 @@
   \lineiii{float(\var{x})}{\var{x} converted to floating point}{}
   \lineiii{complex(\var{re},\var{im})}{a complex number with real part \var{re}, imaginary part \var{im}.  \var{im} defaults to zero.}{}
   \lineiii{\var{c}.conjugate()}{conjugate of the complex number \var{c}}{}
-  \lineiii{divmod(\var{x}, \var{y})}{the pair \code{(\var{x} / \var{y}, \var{x} \%{} \var{y})}}{(3)(4)}
+  \lineiii{divmod(\var{x}, \var{y})}{the pair \code{(\var{x} // \var{y}, \var{x} \%{} \var{y})}}{(3)(4)}
   \lineiii{pow(\var{x}, \var{y})}{\var{x} to the power \var{y}}{}
   \lineiii{\var{x} ** \var{y}}{\var{x} to the power \var{y}}{}
 \end{tableiii}