MCPcopy Index your code
hub / github.com/ipython/ipython / _is_main_py

Function _is_main_py

IPython/testing/plugin/pytest_ipdoctest.py:181–182  ·  view source on GitHub ↗
(path: Path)

Source from the content-addressed store, hash-verified

179
180
181def _is_main_py(path: Path) -> bool:
182 return path.name == "__main__.py"
183
184
185class ReprFailDoctest(TerminalRepr):

Callers 1

pytest_collect_fileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…