summaryrefslogtreecommitdiffstats
path: root/Tools/compiler
diff options
context:
space:
mode:
authorThomas Wouters <thomas@python.org>2006-03-03 18:11:37 (GMT)
committerThomas Wouters <thomas@python.org>2006-03-03 18:11:37 (GMT)
commit7e2ac2533eb7279ccff193f8cffe94abd1dfa83f (patch)
treeb0c06571c314621d8dc6bb79b80bd450e5ee413b /Tools/compiler
parent7b4d6d59141ba7ae3a64769a3a34fb644f5c8f3a (diff)
downloadcpython-7e2ac2533eb7279ccff193f8cffe94abd1dfa83f.zip
cpython-7e2ac2533eb7279ccff193f8cffe94abd1dfa83f.tar.gz
cpython-7e2ac2533eb7279ccff193f8cffe94abd1dfa83f.tar.bz2
Update for absolute/relative imports and ifelse-expressions.
Diffstat (limited to 'Tools/compiler')
-rw-r--r--Tools/compiler/ast.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/Tools/compiler/ast.txt b/Tools/compiler/ast.txt
index aeefc98..7968a52 100644
--- a/Tools/compiler/ast.txt
+++ b/Tools/compiler/ast.txt
@@ -22,8 +22,9 @@ For: assign, list, body, else_&
While: test, body, else_&
With: expr, vars&, body
If: tests!, else_&
+IfExp: test, then, else_
Exec: expr, locals&, globals&
-From: modname*, names*
+From: modname*, names*, level*
Import: names*
Raise: expr1&, expr2&, expr3&
TryFinally: body, final