Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ _temp_file
Function
_temp_file
Lib/importlib/resources/_common.py:148–149 ·
view source on GitHub ↗
(path)
Source
from the content-addressed store, hash-verified
146
147
148
def
_temp_file(path):
149
return
_tempfile(path.read_bytes, suffix=path.name)
150
151
152
def
_is_present_dir(path: Traversable) -> bool:
Callers
1
as_file
Function · 0.85
Calls
1
_tempfile
Function · 0.85
Tested by
no test coverage detected