Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/fluentpython/example-code-2e
/ match_india
Function
match_india
05-data-classes/match_cities.py:65–71 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
63
64
65
def
match_india():
66
results = []
67
for
city in cities:
68
match city:
69
case City(_, name,
'IN'
):
70
results.append(name)
71
return
results
72
73
74
def
match_brazil():
Callers
nothing calls this directly
Calls
1
append
Method · 0.45
Tested by
no test coverage detected