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:
@@ -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