On Sat, Mar 05, 2022 at 11:27:44AM +0200, Serhiy Storchaka wrote:

> Currently the class can inherit from arbitrary objects, not only types. 

Is that intentionally supported?

I know that metaclasses do not have to be actual classes, they can be 
any callable with the correct signature, but I didn't know that classes 
can inherit from non-classes.

-- 
Steve
_______________________________________________
Python-Dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/K44D3H2L2B4KNKMYURZHL5OOSOGDOAY6/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to