Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ always_true
Function
always_true
Tools/cases_generator/generators_common.py:95–98 ·
view source on GitHub ↗
(tkn: Token | None)
Source
from the content-addressed store, hash-verified
93
]
94
95
def
always_true(tkn: Token | None) -> bool:
96
if
tkn is None:
97
return
False
98
return
tkn.text in {
"true"
,
"1"
}
99
100
NON_ESCAPING_DEALLOCS = {
101
"_PyFloat_ExactDealloc"
,
Callers
6
deopt_if
Method · 0.90
error_if
Method · 0.90
exit_if
Method · 0.90
exit_if_after
Method · 0.90
deopt_if
Method · 0.85
error_if
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…