mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-13 23:28:57 +08:00
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:
|
||||
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
|
||||
|
||||
Reference in new issue
Block a user