mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-21 04:50:58 +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.
15 lines
194 B
Python
15 lines
194 B
Python
def f():
|
|
"""<caret>
|
|
Monospaced ``func`` and func
|
|
|
|
Example:
|
|
|
|
::
|
|
|
|
def func():
|
|
pass
|
|
|
|
class Class():
|
|
pass
|
|
"""
|