RE: [Python-Dev] bool does not want to be subclassed?
12 Feb
2004
12 Feb
'04
11:02 p.m.
From: Bob Ippolito
Probably because bool is supposed to only have two values, True or False..
As referred to in Tim's reposting of Guido's mind, the important distinction is that bool is only ever supposed to have two *instances* (True and False). The difference between instance and value in this case is important - int can only have values of type integer, but it can have many instances with the same value. Tim Delaney
7378
Age (days ago)
7378
Last active (days ago)
0 comments
1 participants
participants (1)
-
Delaney, Timothy C (Timothy)