An "Object" class?

Calvin Spealman cspealma at redhat.com
Tue Aug 27 13:39:05 EDT 2019


Yes, it is called `object` and `object` is the base class of ALL other
classes, including `type`. In fact, it is the only class which does not
itself inherit from anything.

On Tue, Aug 27, 2019 at 1:35 PM Cristian Cocos <cristi at ieee.org> wrote:

> I know that "Everything is an object in python" as per
> https://mail.python.org/pipermail/python-list/2015-June/691689.html. Also,
> I am more-or-less convinced that there is a generic "class" (aka "type")
> (meta)class (which would be an object, of course). Is there, however, a
> generic "object" (meta)class (which would obviously be an object as well as
> a class)?
>
> Christian
>
> --
> "People think that I must be a very strange person. This is not correct. I
> have the heart of a small boy. It is in a glass jar on my desk." -- Stephen
> King
> --
> https://mail.python.org/mailman/listinfo/python-list
>


-- 

CALVIN SPEALMAN

SENIOR QUALITY ENGINEER

cspealma at redhat.com  M: +1.336.210.5107
[image: https://red.ht/sig] <https://red.ht/sig>
TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>



More information about the Python-list mailing list