summaryrefslogtreecommitdiff
path: root/tests/cmdline/cmd_parsetree.py.exp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cmdline/cmd_parsetree.py.exp')
-rw-r--r--tests/cmdline/cmd_parsetree.py.exp32
1 files changed, 16 insertions, 16 deletions
diff --git a/tests/cmdline/cmd_parsetree.py.exp b/tests/cmdline/cmd_parsetree.py.exp
index 06fbeadfc..d9f81d8d4 100644
--- a/tests/cmdline/cmd_parsetree.py.exp
+++ b/tests/cmdline/cmd_parsetree.py.exp
@@ -1,28 +1,28 @@
----------------
-[ 4] rule(2) (n=8)
- tok(5)
-[ 4] rule(78) (n=4)
+[ 4] rule(1) (n=8)
+ tok(4)
+[ 4] rule(22) (n=4)
id(i)
-[ 4] rule(131) (n=1)
+[ 4] rule(44) (n=1)
NULL
-[ 5] rule(42) (n=0)
+[ 5] rule(8) (n=0)
NULL
-[ 6] rule(32) (n=2)
+[ 6] rule(5) (n=2)
id(a)
- tok(15)
-[ 7] rule(32) (n=2)
+ tok(14)
+[ 7] rule(5) (n=2)
id(b)
str(str)
-[ 8] rule(32) (n=2)
+[ 8] rule(5) (n=2)
id(c)
-[ 8] literal str(a very long str that will not be interned)
-[ 9] rule(32) (n=2)
+[ 8] literal \.\+
+[ 9] rule(5) (n=2)
id(d)
bytes(bytes)
-[ 10] rule(32) (n=2)
+[ 10] rule(5) (n=2)
id(e)
-[ 10] literal bytes(a very long bytes that will not be interned)
-[ 11] rule(32) (n=2)
+[ 10] literal \.\+
+[ 11] rule(5) (n=2)
id(f)
[ 11] literal \.\+
----------------
@@ -31,7 +31,7 @@ Raw bytecode (code_info_size=\\d\+, bytecode_size=\\d\+):
########
\.\+5b
arg names:
-(N_STATE 2)
+(N_STATE 5)
(N_EXC_STACK 0)
bc=-1 line=1
bc=0 line=4
@@ -43,7 +43,7 @@ arg names:
bc=32 line=10
bc=37 line=11
00 BUILD_TUPLE 0
-02 GET_ITER
+02 GET_ITER_STACK
03 FOR_ITER 12
06 STORE_NAME i
09 JUMP 3