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

Function _path_isfile

Lib/importlib/_bootstrap_external.py:164–166  ·  view source on GitHub ↗

Replacement for os.path.isfile.

(path)

Source from the content-addressed store, hash-verified

162
163
164def _path_isfile(path):
165 """Replacement for os.path.isfile."""
166 return _path_is_mode_type(path, 0o100000)
167
168
169def _path_isdir(path):

Callers 2

_get_sourcefileFunction · 0.85
find_specMethod · 0.85

Calls 1

_path_is_mode_typeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…