mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-02 14:52:01 +00:00
6 lines
167 B
Python
6 lines
167 B
Python
from typing import Callable, Iterable
|
|
|
|
a = lambda x: x**2
|
|
b = map(lambda x: 2 * x, range(3))
|
|
c: Callable = lambda x: x**2
|
|
d: Iterable = map(lambda x: 2 * x, range(3))
|