Fix star_expr unpacking issues. For now star_expr is not supported

This commit is contained in:
Dave Halter
2018-10-26 00:17:28 +02:00
parent 7856d27724
commit a93dff2673
3 changed files with 21 additions and 4 deletions

View File

@@ -448,7 +448,7 @@ tuple({1})[0]
a, *b, c = [1, 'b', list, dict]
#? int()
a
#? str()
#?
b
#? list
c
@@ -457,12 +457,14 @@ c
a, *b, *c = [1, 'd', list]
#? int()
a
#? str()
#?
b
#? list
#?
c
lc = [x for a, *x in [(1, '', 1.0)]]
#?
lc[0][0]
#?
lc[0][1]