Skip to content

Commit 736951e

Browse files
committed
MAINT: More explicit call while building docstrings.
1 parent 8199426 commit 736951e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

numpydoc/docscrape_sphinx.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ def __str__(self, indent=0, func_role="obj"):
224224
out += self._str_summary()
225225
out += self._str_extended_summary()
226226
out += self._str_param_list('Parameters')
227-
out += self._str_returns()
227+
out += self._str_returns('Returns')
228228
out += self._str_returns('Yields')
229229
for param_list in ('Other Parameters', 'Raises', 'Warns'):
230230
out += self._str_param_list(param_list)

0 commit comments

Comments
 (0)