__getattr__ already includes the attribute name in the Exception, is there a 
reason that __getitem__ could not do the same ?





---
[Visit 
Topic](https://discuss.python.org/t/small-suggestion-regarding-type-errors-and-subscription/67898/11)
 or reply to this email to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click 
here](https://discuss.python.org/email/unsubscribe/a39ec8679d7568f21e2c01f1de9fbd9a25cba2b723361f7c736c6d40f7d2156f).

Reply via email to