Python Morsels: __dict__: where Python stores attributes Most Python objects store their attributes in a__dict__dictionary. Modules and classes always use__dict__, but not everything does. Read the full article: https://www.pythonmorsels.com/__dict__/ https://www.pythonmorsels.com/__dict__/