Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ f_any
Method
f_any
Lib/test/test_builtin.py:253–254 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
251
return
all(x-2
for
x in [1,2,3])
252
253
def
f_any():
254
return
any(x-1
for
x in [1,2,3])
255
256
def
f_tuple():
257
return
tuple(2*x
for
x in [1,2,3])
Callers
nothing calls this directly
Calls
1
any
Function · 0.50
Tested by
no test coverage detected