MCPcopy 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
126print("Example 7")
127def take_debug_action(light):
128 match light:
129 case RED:
130 print(f"{RED=}, {light=}")
131
132take_debug_action(GREEN)
133

Callers 1

item_009.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected