Python23: cannot inherit from bool?

James Kew james.kew at btinternet.com
Wed Jan 15 07:40:03 EST 2003


FrankS wrote:
> It seems that 2.3 doesn't allow you to inherit from bool:

I'm not qualified to comment on why it's not allowed, but out of interest:
why might you want to inherit from bool?

--
James Kew
james.kew at btinternet.com






More information about the Python-list mailing list