mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-02 10:14:57 +07:00
Unless it's a "yield from" syntax, where parentheses remain mandatory in Python 3.8. Additionally, properly suggest removing parentheses in yield statements with ordinary parenthesized tuples -- previously we ignored them because of a too broad exclusion. GitOrigin-RevId: 0c695a9fb95f831625ce907ffb272cced0e9fb8b
3 lines
39 B
Python
3 lines
39 B
Python
def func(xs):
|
|
yield from (42, *xs)
|