aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/parso/py3/tests/normalizer_issue_files/E73.py
blob: 1eaf5e8f005bf944a6109d88f047cb6c5aa9c66f (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'