mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 15:50:53 +07:00
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.
8 lines
70 B
Python
8 lines
70 B
Python
def f():
|
|
"""<caret>
|
|
|
|
|
|
class Class:
|
|
"""
|
|
bar
|
|
""" |