Files
Aleksei Kniazev 3749eba8e1 IDEA-CR-49176: inline function is made possible for functions with lambdas (PY-36373)
GitOrigin-RevId: 4f2603447f760d959d31d5033944bae85ad68bf8
2019-07-08 18:05:36 +03:00

12 lines
164 B
Python

def foo(lst):
a = 1
res = map(lambda x: x + a + 1, lst)
return list(res)
a = 2
lst = [1, 2]
a1 = 1
res = map(lambda x: x + a1 + 1, lst)
x = list(res)