When you explore the `collections` module, you’ll often see `Counter`, `defaultdict`, and `namedtuple` (I prefer `typing.NamedTuple`).
One often-overlooked tool is `ChainMap`:
When you explore the `collections` module, you’ll often see `Counter`, `defaultdict`, and `namedtuple` (I prefer `typing.NamedTuple`).
One often-overlooked tool is `ChainMap`:
If you have a fediverse account, you can quote this note from your own instance. Search https://fosstodon.org/users/bbelderbos/statuses/115931628342557882 on your instance and quote it. (Note that quoting is not supported in Mastodon.)