Why is it highlighted as an error, although in fact the closure works
已回答
请先登录再写评论。
Hi! Seems to be an inspection bug in PyCharm, PY-17627 I believe.