Files
openide/python/testData/inspections/AddFunctionFromFString_after.py
Mikhail Golubev 7f96674bb3 PY-21204 Quickfix "Create function" properly handles injected fragments
by inserting a new function in the containing host file, not inside the
fragment itself.

Also I fixed issues with keeping hard references to PSI elements and
usage of deprecated TemplateBuilder's API.
2016-11-25 17:45:24 +03:00

7 lines
94 B
Python

def my_function():
pass
class C:
def method(self):
print(f'{my_function()}')