mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-15 02:59:33 +07:00
when both its type and optional name are omitted. Just as the reference implementation in sphinxcontrib.napoleon we now require a trailing colon on the first line of a field to treat this text as the return type, otherwise it's considered the return value description. Also, I dropped support for named return and yield values in Google Code Style docstrings, as Napoleon doesn't feature them as well.
6 lines
87 B
Python
6 lines
87 B
Python
def func():
|
|
"""
|
|
Returns:
|
|
int:
|
|
return value description
|
|
""" |