Files
openide/python/testData/inspections/AddFunctionFromFString.py
T
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

3 lines
133 B
Python

class C:
def method(self):
print(f'{<warning descr="Unresolved reference 'my_function'">my_<caret>function</warning>()}')