Fixes #20 and closes #19 because now __getitem__ serves a completely different purpose: it was intended for private use between other class methods, but now it's part of the special methods of the Mapping Abstract Base Class.
This pull request doesn't alter any of the existing behaviors for __getattr__, but __getitem__ has a completely different behavior in order to support the Abstract Base Class.
Fixes #20 and closes #19 because now
__getitem__
serves a completely different purpose: it was intended for private use between other class methods, but now it's part of the special methods of the Mapping Abstract Base Class.This pull request doesn't alter any of the existing behaviors for
__getattr__
, but__getitem__
has a completely different behavior in order to support the Abstract Base Class.