mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-02 00:57:59 +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
95 B
Python
3 lines
95 B
Python
def func():
|
|
yield <weak_warning descr="Remove redundant parentheses">(1, 2)</weak_warning>
|