mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
To avoid completion of headers instead of parameters we require at least one space indentation inside sections in Google code style docstrings. Thus parameters references are not inserted falsely and we still can use the rule "if there is reference under caret don't suggest section headers". For Numpy we have nothing to do than to let headers be suggested under sections (where parameters normally go), since it's not really obvious how to distinguish incomplete parameter references from incomplete headers there (thanks to its zero section indentation).
7 lines
61 B
Python
7 lines
61 B
Python
def f(x):
|
|
"""
|
|
Args:
|
|
x:
|
|
|
|
Ret<caret>:
|
|
""" |