1
0
Fork 0
mirror of https://github.com/satwikkansal/wtfpython synced 2025-07-04 20:38:06 +02:00

Merge pull request #204 from myrmica-habilis/master

Add two missing outputs in the walrus examples
This commit is contained in:
Satwik Kansal 2020-05-16 17:57:52 +05:30 committed by GitHub
commit 14600fd19b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

2
README.md vendored
View file

@ -181,6 +181,7 @@ File "<stdin>", line 1
SyntaxError: invalid syntax
>>> (a := "wtf_walrus") # This works though
'wtf_walrus'
>>> a
'wtf_walrus'
```
@ -195,6 +196,7 @@ SyntaxError: invalid syntax
(6, 9)
>>> (a := 6, 9)
(6, 9)
>>> a
6