summaryrefslogtreecommitdiffstats
path: root/Doc/ref
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-08-08 05:37:21 (GMT)
committerFred Drake <fdrake@acm.org>2001-08-08 05:37:21 (GMT)
commita7d608d1cff4ca8ba70e6d80f8d4be442884912c (patch)
tree407f2f184628e0ba6cb5545e615bb1a108256be9 /Doc/ref
parent6b3a2c4a48eeefce64de12060d4ba0f38a5f3033 (diff)
downloadcpython-a7d608d1cff4ca8ba70e6d80f8d4be442884912c.zip
cpython-a7d608d1cff4ca8ba70e6d80f8d4be442884912c.tar.gz
cpython-a7d608d1cff4ca8ba70e6d80f8d4be442884912c.tar.bz2
"Thin" version of floor division docs: add // to the list of operators
and //= to the list of other delimiter tokens. I'll work on it again when it's not so late...
Diffstat (limited to 'Doc/ref')
-rw-r--r--Doc/ref/ref2.tex6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/ref/ref2.tex b/Doc/ref/ref2.tex
index 02c05cd..0e4ea26 100644
--- a/Doc/ref/ref2.tex
+++ b/Doc/ref/ref2.tex
@@ -563,7 +563,7 @@ The following tokens are operators:
\index{operators}
\begin{verbatim}
-+ - * ** / %
++ - * ** / // %
<< >> & | ^ ~
< > <= >= == != <>
\end{verbatim}
@@ -581,8 +581,8 @@ The following tokens serve as delimiters in the grammar:
\begin{verbatim}
( ) [ ] { }
, : . ` = ;
-+= -= *= /= %= **=
-&= |= ^= >>= <<=
++= -= *= /= //= %=
+&= |= ^= >>= <<= **=
\end{verbatim}
The period can also occur in floating-point and imaginary literals. A