A first very incomplete implementation of named expression support

This commit is contained in:
Dave Halter committed 2019-06-03 00:11:49 +02:00
1 parent 30526c564e
commit c8d658e452
2 files changed
+15

No files matched your search

+13
View 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]