When exactly is a python object a class? [duplicate]
This question already has answers here: How to check whether a variable is a class or not? (13 answers) Closed 2 days ago. I was reading this answer to the question What are metaclasses in Python? when I learned that classes in Python don’t have to be created using the class keyword. For example, to […]
What exactly is a class in Python?
I was reading this answer to the question What are metaclasses in Python? when I learned that classes in Python don’t have to be created using the class
keyword. This made me wonder: what exactly is a class?