RE: [Python-Dev] bool does not want to be subclassed?
Feb. 12, 2004
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
8098
Age (days ago)
8098
Last active (days ago)
0 comments
1 participants
participants (1)
-
Delaney, Timothy C (Timothy)