Why does super(bool) give None

Cecil Westerhof Cecil at decebal.nl
Fri Apr 24 02:10:37 EDT 2020


issubclass(bool, int) gives True
but
super(bool) gives <super: bool, None>

Do I not understand the meaning of super, or is this inconsistent?

(Until now I have not down much work with classes in Python.)

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof


More information about the Python-list mailing list