aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Baxter <anthonybaxter@gmail.com>2006-02-27 06:49:54 +0000
committerAnthony Baxter <anthonybaxter@gmail.com>2006-02-27 06:49:54 +0000
commit322a23f21b78ffbdf4da3330082a04db093af0af (patch)
treebc24ae5efe156c17b6be8d462c9b898bc4fcc70f /Lib/symbol.py
parentPEP 308 implementation, including minor refdocs and some testcases. It (diff)
downloadcpython-322a23f21b78ffbdf4da3330082a04db093af0af.tar.gz
cpython-322a23f21b78ffbdf4da3330082a04db093af0af.tar.bz2
cpython-322a23f21b78ffbdf4da3330082a04db093af0af.zip
regenerated. please read PEP 306 when changing Python's grammar!
Diffstat (limited to 'Lib/symbol.py')
-rwxr-xr-xLib/symbol.py77
1 files changed, 40 insertions, 37 deletions
diff --git a/Lib/symbol.py b/Lib/symbol.py
index 8219008ac39..dd8374046fa 100755
--- a/Lib/symbol.py
+++ b/Lib/symbol.py
@@ -52,43 +52,46 @@ for_stmt = 294
try_stmt = 295
except_clause = 296
suite = 297
-test = 298
-and_test = 299
-not_test = 300
-comparison = 301
-comp_op = 302
-expr = 303
-xor_expr = 304
-and_expr = 305
-shift_expr = 306
-arith_expr = 307
-term = 308
-factor = 309
-power = 310
-atom = 311
-listmaker = 312
-testlist_gexp = 313
-lambdef = 314
-trailer = 315
-subscriptlist = 316
-subscript = 317
-sliceop = 318
-exprlist = 319
-testlist = 320
-testlist_safe = 321
-dictmaker = 322
-classdef = 323
-arglist = 324
-argument = 325
-list_iter = 326
-list_for = 327
-list_if = 328
-gen_iter = 329
-gen_for = 330
-gen_if = 331
-testlist1 = 332
-encoding_decl = 333
-yield_expr = 334
+testlist_safe = 298
+old_test = 299
+old_lambdef = 300
+test = 301
+or_test = 302
+and_test = 303
+not_test = 304
+comparison = 305
+comp_op = 306
+expr = 307
+xor_expr = 308
+and_expr = 309
+shift_expr = 310
+arith_expr = 311
+term = 312
+factor = 313
+power = 314
+atom = 315
+listmaker = 316
+testlist_gexp = 317
+lambdef = 318
+trailer = 319
+subscriptlist = 320
+subscript = 321
+sliceop = 322
+exprlist = 323
+testlist = 324
+dictmaker = 325
+classdef = 326
+arglist = 327
+argument = 328
+list_iter = 329
+list_for = 330
+list_if = 331
+gen_iter = 332
+gen_for = 333
+gen_if = 334
+testlist1 = 335
+encoding_decl = 336
+yield_expr = 337
#--end constants--
sym_name = {}