• Kevin Modzelewski's avatar
    Fix a codegen bug · 4a7bcfbb
    Kevin Modzelewski authored
    If we could statically determine that an object doesn't have a __nonzero__ method,
    we would previously say that it had an undefined truth value (and then crash).
    4a7bcfbb
nonzero_static.py 350 Bytes