3 ms·
Self in Python isn't magical, it's just the bound instance conventionally named self. An object isn't magical, just syntactic sugar over a dictionary/namespace
by marmaduke 7y ago
Self in Python isn't magical, it's just the bound instance conventionally named self. An object isn't magical, just syntactic sugar over a dictionary/namespace. Class syntax isn't magical but syntactic sugar for a call to type function.