tuple
This commit is contained in:
parent
140d01eac4
commit
cfc7aaf9a2
10 changed files with 0 additions and 59 deletions
|
|
@ -1,2 +0,0 @@
|
||||||
{"x": 1, "y": 2}
|
|
||||||
|
|
||||||
|
|
@ -1,10 +0,0 @@
|
||||||
Module
|
|
||||||
ExprStmt
|
|
||||||
Dict
|
|
||||||
KeyValue
|
|
||||||
String("x")
|
|
||||||
Number(1)
|
|
||||||
KeyValue
|
|
||||||
String("y")
|
|
||||||
Number(2)
|
|
||||||
|
|
||||||
|
|
@ -1,2 +0,0 @@
|
||||||
(lambda a, b: a + b)(3, 4)
|
|
||||||
|
|
||||||
|
|
@ -1,12 +0,0 @@
|
||||||
Module
|
|
||||||
ExprStmt
|
|
||||||
Call
|
|
||||||
Lambda
|
|
||||||
Param(a)
|
|
||||||
Param(b)
|
|
||||||
BinOp(+)
|
|
||||||
Identifier(a)
|
|
||||||
Identifier(b)
|
|
||||||
Number(3)
|
|
||||||
Number(4)
|
|
||||||
|
|
||||||
|
|
@ -1,2 +0,0 @@
|
||||||
{x for x in items}
|
|
||||||
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
||||||
Module
|
|
||||||
ExprStmt
|
|
||||||
SetComp
|
|
||||||
Identifier(x)
|
|
||||||
For(x)
|
|
||||||
Identifier(items)
|
|
||||||
|
|
||||||
|
|
@ -1,2 +0,0 @@
|
||||||
(x for x in items)
|
|
||||||
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
||||||
Module
|
|
||||||
ExprStmt
|
|
||||||
Generator
|
|
||||||
Identifier(x)
|
|
||||||
For(x)
|
|
||||||
Identifier(items)
|
|
||||||
|
|
||||||
|
|
@ -1,2 +0,0 @@
|
||||||
[ x*x for x in items if x > 0 ]
|
|
||||||
|
|
||||||
|
|
@ -1,13 +0,0 @@
|
||||||
Module
|
|
||||||
ExprStmt
|
|
||||||
ListComp
|
|
||||||
BinOp(*)
|
|
||||||
Identifier(x)
|
|
||||||
Identifier(x)
|
|
||||||
For(x)
|
|
||||||
Identifier(items)
|
|
||||||
If
|
|
||||||
Compare(>)
|
|
||||||
Identifier(x)
|
|
||||||
Number(0)
|
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue