Class vs. Type in Python
Once upon a time, Python had both types and classes. Types were built-in objects defined in C; classes were what you built when using a class statement. The two were named differently because you couldn’t mix these; classes could not extend types. This difference was artificial, a limitation in the language implementation. Starting with Python … Read more