mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-07 21:44:34 +08:00
A first very incomplete implementation of named expression support
This commit is contained in:
1 parent
30526c564e
commit
c8d658e452
2 files changed
+15
No files matched your search
@@ -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