• Kevin Modzelewski's avatar
    Make bool a proper subclass of int · da9f8db9
    Kevin Modzelewski authored
    Required a small amount of object changes, and then a large
    number of replacements where we directly compared the class
    to int_cls.  We now check that it's a subclass, since you
    are allowed to use True/False anywhere that you could use
    an int.  ex "xrange(0, n, step=True)"
    da9f8db9
tuple.cpp 13.8 KB