evaluate/docstrings.py
Make some docstring stuff easier
This commit is contained in:
1 parent
f5c7e3bb06
commit
46b62b7bed
1 file changed
+1
-2
@@ -155,8 +155,7 @@ def _search_param_in_docstr(docstr, param_str):
|
||||
if match:
|
||||
return [_strip_rst_role(match.group(1))]
|
||||
|
||||
return (_search_param_in_numpydocstr(docstr, param_str) or
|
||||
[])
|
||||
return _search_param_in_numpydocstr(docstr, param_str)
|
||||
|
||||
|
||||
def _strip_rst_role(type_str):
|
||||
|
||||
Reference in new issue
Block a user