1
0
forked from VimPlug/jedi

Be even more strict with numpy doctsring parsing, it should just be ignored if it fails in any ways

This commit is contained in:
Dave Halter
2019-06-10 17:40:39 +02:00
parent 95f3aed82c
commit 9871fe2adf

View File

@@ -81,7 +81,7 @@ def _search_return_in_numpydocstr(docstr):
"""
try:
doc = _get_numpy_doc_string_cls()(docstr)
except ImportError:
except Exception:
return
try:
# This is a non-public API. If it ever changes we should be