Be even more strict with numpy doctsring parsing, it should just be ignored if it fails in any ways
This commit is contained in:
1 parent
95f3aed82c
commit
9871fe2adf
1 file changed
+1
-1
@@ -81,7 +81,7 @@ def _search_return_in_numpydocstr(docstr):
|
|||||||
"""
|
"""
|
||||||
try:
|
try:
|
||||||
doc = _get_numpy_doc_string_cls()(docstr)
|
doc = _get_numpy_doc_string_cls()(docstr)
|
||||||
except ImportError:
|
except Exception:
|
||||||
return
|
return
|
||||||
try:
|
try:
|
||||||
# This is a non-public API. If it ever changes we should be
|
# This is a non-public API. If it ever changes we should be
|
||||||
|
|||||||
Reference in new issue
Block a user