Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ _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
164
def
_path_isfile(path):
165
""
"Replacement for os.path.isfile."
""
166
return
_path_is_mode_type(path, 0o100000)
167
168
169
def
_path_isdir(path):
Callers
2
_get_sourcefile
Function · 0.70
find_spec
Method · 0.70
Calls
1
_path_is_mode_type
Function · 0.70
Tested by
no test coverage detected