Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ is_label
Function
is_label
Tools/cases_generator/cwriter.py:178–179 ·
view source on GitHub ↗
(txt: str)
Source
from the content-addressed store, hash-verified
176
177
178
def
is_label(txt: str) -> bool:
179
return
not txt.startswith(
"//"
) and txt.endswith(
":"
)
Callers
2
maybe_dedent
Method · 0.85
maybe_indent
Method · 0.85
Calls
2
startswith
Method · 0.45
endswith
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…