Files
openide/python/testData/quickdoc/MultilineReturnSectionNumpy.py
Irina.Fediaeva 4b1eca9771 PY-43035: Fix multiline sections in section-based docstrings
Now when parse docstring we take into account the block type. For OPTIONAL_TYPE sections such as Returns and Yields we don't require additional indent for lines following the summary.

GitOrigin-RevId: 5dd7adf5f9042204a29b731a3a7379cc3c743af9
2022-09-19 22:02:59 +00:00

14 lines
410 B
Python

def fo<the_ref>o():
"""
Returns
-------
bool
True if successful, False otherwise.
The return type is optional and may be specified at the beginning of
the Returns section followed by a colon.
The Returns section may span multiple lines and paragraphs.
Following lines should be indented to match the first line.
"""
pass