summaryrefslogtreecommitdiffstats
path: root/Lib/token.py
diff options
context:
space:
mode:
authorThomas Wouters <thomas@python.org>2000-08-24 21:08:39 (GMT)
committerThomas Wouters <thomas@python.org>2000-08-24 21:08:39 (GMT)
commit34052622c92d852ad1659fb7583d32fd305583e9 (patch)
tree520a8d5f7316bf45de3284c4dec7facc088d2ef3 /Lib/token.py
parent104a7bcc28f96c6192815e82971d660c9910c16b (diff)
downloadcpython-34052622c92d852ad1659fb7583d32fd305583e9.zip
cpython-34052622c92d852ad1659fb7583d32fd305583e9.tar.gz
cpython-34052622c92d852ad1659fb7583d32fd305583e9.tar.bz2
Update for augmented assignment.
Diffstat (limited to 'Lib/token.py')
-rwxr-xr-xLib/token.py17
1 files changed, 14 insertions, 3 deletions
diff --git a/Lib/token.py b/Lib/token.py
index ed45c91..14f56d0 100755
--- a/Lib/token.py
+++ b/Lib/token.py
@@ -47,9 +47,20 @@ CIRCUMFLEX = 33
LEFTSHIFT = 34
RIGHTSHIFT = 35
DOUBLESTAR = 36
-OP = 37
-ERRORTOKEN = 38
-N_TOKENS = 39
+PLUSEQUAL = 37
+MINEQUAL = 38
+STAREQUAL = 39
+SLASHEQUAL = 40
+PERCENTEQUAL = 41
+AMPEREQUAL = 42
+VBAREQUAL = 43
+CIRCUMFLEXEQUAL = 44
+LEFTSHIFTEQUAL = 45
+RIGHTSHIFTEQUAL = 46
+DOUBLESTAREQUAL = 47
+OP = 48
+ERRORTOKEN = 49
+N_TOKENS = 50
NT_OFFSET = 256
#--end constants--