Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bslatkin/effectivepython
/ take_debug_action
Function
take_debug_action
example_code/item_009.py:127–130 ·
view source on GitHub ↗
(light)
Source
from the content-addressed store, hash-verified
125
126
print(
"Example 7"
)
127
def
take_debug_action(light):
128
match light:
129
case RED:
130
print(f
"{RED=}, {light=}"
)
131
132
take_debug_action(GREEN)
133
Callers
1
item_009.py
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected