Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ HeadlightsK
Class
HeadlightsK
Lib/test/test_enum.py:246–250 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
244
try
:
245
@enum.global_enum
246
class
HeadlightsK(IntFlag, boundary=enum.KEEP):
247
OFF_K = 0
248
LOW_BEAM_K = auto()
249
HIGH_BEAM_K = auto()
250
FOG_K = auto()
251
except
Exception
as
exc:
252
HeadlightsK = exc
253
Callers
1
test_global_repr_keep
Method · 0.85
Calls
1
auto
Class · 0.90
Tested by
1
test_global_repr_keep
Method · 0.68
Used in the wild
real call sites across dependent graphs
searching dependent graphs…