File: wonky_walrus.py

package info (click to toggle)
python-libcst 1.8.6-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,240 kB
  • sloc: python: 78,096; makefile: 15; sh: 2
file content (15 lines) | stat: -rw-r--r-- 202 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
(  foo  :=    5   )

any((lastNum := num) == 1 for num in [1, 2, 3])

[(lastNum := num) == 1 for num in [1, 2, 3]]

while f := x():
    pass

if f := x(): pass

f(y:=1)
f(x,  y   :=    1     )

_[_:=10]