Files
openide/python/testData/editing/enterDocstringStubWhenClassDocstringBelow.py
Mikhail Golubev 40733b0fd4 PY-17183 Heuristically determine when incomplete docstring captures another declaration
To do so I search for the line inside a docstring that starts with
either "def " or "class " and has indentation less than that of opening
docstring quotes.
2015-10-25 15:49:43 +03:00

8 lines
70 B
Python

def f():
"""<caret>
class Class:
"""
bar
"""