8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4312522 commit 09d434cCopy full SHA for 09d434c
Doc/whatsnew/3.8.rst
@@ -67,6 +67,22 @@ Summary -- Release highlights
67
New Features
68
============
69
70
+Assignment expressions
71
+----------------------
72
+
73
+There is new syntax (the "walrus operator", ``:=``) to assign values
74
+to variables as part of an expression. Example::
75
76
+ if (n := len(a)) > 10:
77
+ print(f"List is too long ({n} elements, expected <= 10)")
78
79
+See :pep:`572` for a full description.
80
81
+(Contributed by Emily Morehouse in :issue:`35224`.)
82
83
+.. TODO: Emily will sprint on docs at PyCon US 2019.
84
85
86
Parallel filesystem cache for compiled bytecode files
87
-----------------------------------------------------
88
0 commit comments