Files
jedi-fork/jedi/api
spicysharkco 897cbff748 Fix extract_function when the extracted code defines no variable
If the extracted lines define no name, the new function ended with a
bare "return " and the call site became " = func(v1)". Both are
invalid Python.

Only add the final return line and the assignment when there is at
least one variable to return. Otherwise call the function as a
statement.
2026-10-18 02:07:55 +00:00
..
2022-07-15 17:29:02 +10:00
2026-10-12 21:08:40 +02:00
2026-02-04 01:19:14 +01:00
2026-10-12 17:40:32 +02:00