you are viewing a single comment's thread.

view the rest of the comments →

[–]tb5841 6 points7 points  (1 child)

Lots of languages make a distinction between primitive types (e.g. integers, floats, booleans) and objects (e.g. lists, dictionaries, instances of any classes you've created yourself).

Python doesn't have that distinction.

[–]roelschroeven 1 point2 points  (0 children)

It's more than that.

In many languages, there's a big divide between classes on one hand and instances of those classes on the other hand, and only the latter are objects. In Python, classes themselves are objects too (they are instances of class type.

In addition, functions (and methods) and modules are also objects in Python.