Closes https://github.com/satwikkansal/wtfpython/issues/162
This commit is contained in:
Satwik 2019-12-27 20:00:59 +05:30
parent 183e0d9ee5
commit 9a2718ae3a
1 changed files with 1 additions and 1 deletions

2
README.md vendored
View File

@ -259,7 +259,7 @@ This saved one line of code, and implicitly prevented invoking `some_func` twice
- As usual, parenthesizing of an expression containing `=` operator is not allowed. Hence the syntax error in `(a, b = 6, 9)`.
- The syntax of the Walrus operator is of the form `NAME: expr`, where `NAME` is a valid identifier, and `expr` is a valid expression. Hence, iterable packing and unpacking are not supported which means,
- The syntax of the Walrus operator is of the form `NAME:= expr`, where `NAME` is a valid identifier, and `expr` is a valid expression. Hence, iterable packing and unpacking are not supported which means,
- `(a := 6, 9)` is equivalent to `((a := 6), 9)` and ultimately `(a, 9) ` (where `a`'s value is 6')