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

9 lines
116 B
Python

def foo(lst):
a = 1
res = map(lambda x: x + a + 1, lst)
return list(res)
a = 2
x = fo<caret>o([1, 2])