`type` is the "class" class (type and class are more or less synonymous terms in modern Python).
You can find many of Python's implementation types in the `types` library, including `FunctionType`, here: https://docs.python.org/3/library/types.html On Tue, Aug 27, 2019 at 2:19 PM Cristian Cocos <cri...@ieee.org> wrote: > 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 <cspea...@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 <cri...@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 > > > > cspea...@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 > -- > https://mail.python.org/mailman/listinfo/python-list > -- CALVIN SPEALMAN SENIOR QUALITY ENGINEER cspea...@redhat.com M: +1.336.210.5107 [image: https://red.ht/sig] <https://red.ht/sig> TRIED. TESTED. TRUSTED. <https://redhat.com/trusted> -- https://mail.python.org/mailman/listinfo/python-list