Searching simple object with a dictionary

This is one of those bi-directional things that is trivial to get backwards: is it matching when A is a subset of B? or when B is a subset of A?

Python already has sets, and operators for testing super/subsets. If we can maintain consistency with those, then it will be less confusing.

1 Like