An "Object" class?

Cristian Cocos cristi at ieee.org
Tue Aug 27 14:19:28 EDT 2019


Thank you! What would be the names of the *class *class, and of the *function
*class please?

On Tue, Aug 27, 2019 at 1:39 PM Calvin Spealman <cspealma at redhat.com> wrote:

> 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>
>


-- 
"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



More information about the Python-list mailing list