aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/parso/py2/tests/normalizer_issue_files/E73.py
blob: 77e2e9043a0e4285ce2325058e006751a45527e7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#: E731:4
f = lambda x: 2 * x
while False:
    #: E731:10
    foo = lambda y, z: 2 * x
# Okay
f = object()
f.method = lambda: 'Method'

f = {}
f['a'] = lambda x: x ** 2

f = []
f.append(lambda x: x ** 2)

lambda: 'no-op'