MCPcopy Index your code
hub / github.com/numpy/numpy / __dir__

Function __dir__

numpy/__init__.py:771–779  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

769 raise AttributeError(f"module {__name__!r} has no attribute {attr!r}")
770
771 def __dir__():
772 public_symbols = (
773 globals().keys() | __numpy_submodules__
774 )
775 public_symbols -= {
776 "matrixlib", "matlib", "tests", "conftest", "version",
777 "array_api"
778 }
779 return list(public_symbols)
780
781 # Pytest testing
782 from numpy._pytesttester import PytestTester

Callers

nothing calls this directly

Calls 1

keysMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…