Files
openide/python/testData/refactoring/inlineFunction/removingDocstring/main.py
Aleksei Kniazev 72e24eef45 IDEA-CR-49176: inline function doesn't copy docstring, but keeps the first-line comment (PY-36469, PY-36491)
GitOrigin-RevId: db1fbb5178892db955678dfcec684a5af7f987c6
2019-07-08 18:05:36 +03:00

10 lines
123 B
Python

def foo():
"""
Docstring for the function
:return: int
"""
print(42)
return 42
res = fo<caret>o()