On Fri, 01 Oct 2010 22:19:14 -0700, Paul Rubin wrote:

> Steven D'Aprano <st...@remove-this-cybersource.com.au> writes:
>> Incorrect. bools *are* ints in Python, beyond any doubt.
> 
>     Python 2.6.2 (r262:71600, Jun  4 2010, 18:28:58)
>     >>> type(3)==type(True)
>     False

So? Instances of a subclasses are still instances of the superclass.

-- 
Steven
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to