revise `city_codes.py` to fix `hash()` error