mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-06 14:04:26 +08:00
Remove code that didn't mean anything
This commit is contained in:
@@ -51,11 +51,8 @@ def _get_numpy_doc_string_cls():
|
|||||||
global _numpy_doc_string_cache
|
global _numpy_doc_string_cache
|
||||||
if isinstance(_numpy_doc_string_cache, (ImportError, SyntaxError)):
|
if isinstance(_numpy_doc_string_cache, (ImportError, SyntaxError)):
|
||||||
raise _numpy_doc_string_cache
|
raise _numpy_doc_string_cache
|
||||||
try:
|
from numpydoc.docscrape import NumpyDocString
|
||||||
from numpydoc.docscrape import NumpyDocString
|
_numpy_doc_string_cache = NumpyDocString
|
||||||
_numpy_doc_string_cache = NumpyDocString
|
|
||||||
except (ImportError, SyntaxError) as e:
|
|
||||||
raise
|
|
||||||
return _numpy_doc_string_cache
|
return _numpy_doc_string_cache
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user