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

Function _temp_file

Lib/importlib/resources/_common.py:114–115  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

112
113
114def _temp_file(path):
115 return _tempfile(path.read_bytes, suffix=path.name)
116
117
118def _is_present_dir(path: Traversable) -> bool:

Callers 1

as_fileFunction · 0.85

Calls 1

_tempfileFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…