summaryrefslogtreecommitdiffstats
path: root/Doc/ref/ref2.tex
diff options
context:
space:
mode:
authorThomas Wouters <thomas@python.org>2000-08-24 20:06:04 (GMT)
committerThomas Wouters <thomas@python.org>2000-08-24 20:06:04 (GMT)
commit12bba852a9fabf95442690fce2a7e7975f22f914 (patch)
tree9018a6b4485617742b020a6c43dc3ab39d987d19 /Doc/ref/ref2.tex
parentb0b7e317096e37bb4e88df22da6d6e6174d12405 (diff)
downloadcpython-12bba852a9fabf95442690fce2a7e7975f22f914.zip
cpython-12bba852a9fabf95442690fce2a7e7975f22f914.tar.gz
cpython-12bba852a9fabf95442690fce2a7e7975f22f914.tar.bz2
Rough and incomplete documentation on augmented assignment, which follows
shortly. Markup also needs checking.
Diffstat (limited to 'Doc/ref/ref2.tex')
-rw-r--r--Doc/ref/ref2.tex4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/ref/ref2.tex b/Doc/ref/ref2.tex
index ba4c684..64853fb 100644
--- a/Doc/ref/ref2.tex
+++ b/Doc/ref/ref2.tex
@@ -523,10 +523,14 @@ 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
sequence of three periods has a special meaning as an ellipsis in slices.
+The second half of the list, the augmented assignment operators, serve
+lexically as delimiters, but also perform an operation.
The following printing ASCII characters have special meaning as part
of other tokens or are otherwise significant to the lexical analyzer: