MCPcopy Create free account
hub / github.com/numpy/numpy / _getmembers

Function _getmembers

numpy/lib/utils.py:1017–1024  ·  view source on GitHub ↗
(item)

Source from the content-addressed store, hash-verified

1015 return cache
1016
1017def _getmembers(item):
1018 import inspect
1019 try:
1020 members = inspect.getmembers(item)
1021 except Exception:
1022 members = [(x, getattr(item, x)) for x in dir(item)
1023 if hasattr(item, x)]
1024 return members
1025
1026
1027def safe_eval(source):

Callers 1

_lookfor_generate_cacheFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected