You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
throws a TypeError, because string indexes must be integers (and this compares them against the string keys of the dict).
This is turning up specifically when I have nested ImmutableDicts and I'm using the in operator to test for the existence of specific keys at different levels.
The text was updated successfully, but these errors were encountered:
jimrthy
added a commit
to jimrthy/funktown
that referenced
this issue
Sep 29, 2015
d = {'a': 1, 'b': 2, 'c': 3}
i_d = ImmutableDict(d)
i_d == 'xyz'
throws a TypeError, because string indexes must be integers (and this compares them against the string keys of the dict).
This is turning up specifically when I have nested ImmutableDicts and I'm using the in operator to test for the existence of specific keys at different levels.
The text was updated successfully, but these errors were encountered: