Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ _exists
Function
_exists
Lib/tempfile.py:77–83 ·
view source on GitHub ↗
(fn)
Source
from the content-addressed store, hash-verified
75
76
77
def
_exists(fn):
78
try
:
79
_os.lstat(fn)
80
except
OSError:
81
return
False
82
else
:
83
return
True
84
85
86
def
_infer_return_type(*args):
Callers
1
mktemp
Function · 0.70
Calls
1
lstat
Method · 0.80
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…