MCPcopy Index your code
hub / github.com/python/cpython / _get_exports_list

Function _get_exports_list

Lib/os.py:44–48  ·  view source on GitHub ↗
(module)

Source from the content-addressed store, hash-verified

42 return name in globals()
43
44def _get_exports_list(module):
45 try:
46 return list(module.__all__)
47 except AttributeError:
48 return [n for n in dir(module) if n[0] != '_']
49
50# Any new dependencies of the os module and/or changes in path separator
51# requires updating importlib as well.

Callers 1

os.pyFile · 0.85

Calls 1

listClass · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…