On 21Jan2024 23:39, bagratte at live.com <bagratte at live.com> wrote: >class NameMe(dict): > def __missing__(self, key): > return key I would need to know more about what it might be used for. What larger problem led you to writing a `dict` subclass with this particular `__missing__` implementation?