Python23: cannot inherit from bool?
dale at riverhall.NOTHANKS.co.uk
Thu Jan 16 11:01:04 CET 2003
Robin Becker <robin at jessikat.fsnet.co.uk> wrote:
>In article <b03kr8$lbili$1 at ID-71831.news.dfncis.de>, James Kew
><james.kew at btinternet.com> writes
>>> 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?
>.... don't know the answer to that one, but is the non inheritance
>property available to ordinary python if yes we could create leaf
At the risk of sounding dim: what's a leaf class?
Riverhall Systems Ltd
More information about the Python-list