Adds support for LIST_EXTEND opcode
Addresses #199
This commit is contained in:
BIN
tests/compiled/list_extend.3.9.pyc
Normal file
BIN
tests/compiled/list_extend.3.9.pyc
Normal file
Binary file not shown.
8
tests/input/list_extend.py
Normal file
8
tests/input/list_extend.py
Normal file
@@ -0,0 +1,8 @@
|
||||
a = [1, 2, 3]
|
||||
b = ['4', 5, 6]
|
||||
c = [7, (8, 9, 10)]
|
||||
d = [None]
|
||||
e = [('a', 'b', 'c')]
|
||||
f = [a, b]
|
||||
g = []
|
||||
a = [None, None, None]
|
8
tests/tokenized/list_extend.txt
Normal file
8
tests/tokenized/list_extend.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
a = [ 1 , 2 , 3 ] <EOL>
|
||||
b = [ '4' , 5 , 6 ] <EOL>
|
||||
c = [ 7 , ( 8 , 9 , 10 ) ] <EOL>
|
||||
d = [ None ] <EOL>
|
||||
e = [ ( 'a' , 'b' , 'c' ) ] <EOL>
|
||||
f = [ a , b ] <EOL>
|
||||
g = [ ] <EOL>
|
||||
a = [ None , None , None ] <EOL>
|
Reference in New Issue
Block a user