forked from VimPlug/jedi
A first very incomplete implementation of named expression support
This commit is contained in:
13
test/completion/named_expression.py
Normal file
13
test/completion/named_expression.py
Normal file
@@ -0,0 +1,13 @@
|
||||
# python >= 3.8
|
||||
b = (a:=1, a)
|
||||
|
||||
#? int()
|
||||
b[0]
|
||||
#?
|
||||
b[1]
|
||||
|
||||
# Should not fail
|
||||
b = ('':=1,)
|
||||
|
||||
#? int()
|
||||
b[0]
|
||||
Reference in New Issue
Block a user