Files
jedi/test
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
..
2026-04-27 00:34:17 +02:00
2026-10-13 12:23:01 +02:00
2012-04-12 15:47:33 +02:00
2020-12-26 04:16:32 +01:00
2026-04-27 14:41:58 +02:00
2024-06-30 19:05:38 +01:00
2020-07-02 03:34:44 +02:00
2026-04-27 15:29:08 +02:00
2026-10-13 09:30:21 +02:00