mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-05 01:50:56 +07:00
[PyCharm Tables] PY-73557 added a dot for a type safety (avoid collision with users' types)
GitOrigin-RevId: e4215a9b877db8b110c535c998c1c6469d32a30d
This commit is contained in:
committed by
intellij-monorepo-bot
parent
39401a806f
commit
2e297515eb
@@ -77,7 +77,7 @@ def _get_external_collection_repr(collection, raise_exception=False):
|
||||
raise e
|
||||
# ndarray and other numpy types
|
||||
try:
|
||||
if typename == 'ndarray' or "numpy" in str(typename_with_package):
|
||||
if typename == 'ndarray' or "numpy." in str(typename_with_package):
|
||||
return _get_ndarray_variable_repr(collection)
|
||||
except Exception as e:
|
||||
pydev_log.warn("Failed to format numpy ndarray: " + str(e))
|
||||
|
||||
Reference in New Issue
Block a user