Hacker News new | ask | show | jobs
by LyndsySimon 2827 days ago

    chain_map.maps[0][key] = value
I wouldn't expect this to work because `0` is a valid key. It's not safe to assume that an integer lookup is an index.
1 comments

In his example maps is a list, no?