comparison Parser/Python.asdl @ 39678:f87a3e61853d

Remove the UNARY_CONVERT opcode (was used for backticks). Also bumped up the import MAGIC number.
author Brett Cannon <bcannon@gmail.com>
date Fri, 25 Aug 2006 05:05:30 +0000
parents f731859e9b3b
children d0b83c4630c0
comparison
equal deleted inserted replaced
39677:78564e269d23 39678:f87a3e61853d
63 -- need sequences for compare to distinguish between 63 -- need sequences for compare to distinguish between
64 -- x < 4 < 3 and (x < 4) < 3 64 -- x < 4 < 3 and (x < 4) < 3
65 | Compare(expr left, cmpop* ops, expr* comparators) 65 | Compare(expr left, cmpop* ops, expr* comparators)
66 | Call(expr func, expr* args, keyword* keywords, 66 | Call(expr func, expr* args, keyword* keywords,
67 expr? starargs, expr? kwargs) 67 expr? starargs, expr? kwargs)
68 | Repr(expr value)
69 | Num(object n) -- a number as a PyObject. 68 | Num(object n) -- a number as a PyObject.
70 | Str(string s) -- need to specify raw, unicode, etc? 69 | Str(string s) -- need to specify raw, unicode, etc?
71 -- other literals? bools? 70 -- other literals? bools?
72 71
73 -- the following expression can appear in assignment context 72 -- the following expression can appear in assignment context