Do you mean like this?
```
$ python -c 'print({"profile":None}["profile"]["name"])'
Traceback (most recent call last):
File "<string>", line 1, in <module>
print({"profile":None}["profile"]["name"])
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^
TypeError: 'NoneType' object is not subscriptable
```
This is what python 3.13 does. ~~Maybe 3.12 as well?~~ edit: confirmed it's new
in 3.13
---
[Visit
Topic](https://discuss.python.org/t/small-suggestion-regarding-type-errors-and-subscription/67898/2)
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/69bf5dc6fceeaa7b4cb306d1112b0f4a9d5fe352e24a14a716a642fc8369944e).