Everything is an object in python - object class and type class
Marko Rauhamaa
marko at pacujo.net
Tue Jun 2 18:33:00 EDT 2015
Grant Edwards <invalid at invalid.invalid>:
> On 2015-06-02, Ian Kelly <ian.g.kelly at gmail.com> wrote:
>> Accepting for the sake of argument that "something to be subclassed"
>> is a reasonable definition of object,
>
> Huh? You can't subclass an object. You can subclass a Class.
More to the point: you don't need classes for objects -- even in the
deepest OOP sense.
In Python, classes are little more than constructor functions.
Marko
More information about the Python-list
mailing list