• Kevin Modzelewski's avatar
    str does not have an __iter__ · 87edc344
    Kevin Modzelewski authored
    (it uses old-style iteration)
    And crazily, there is code that relies on this.
    
    I wouldn't usually want to give in to code relying on such an
    esoteric feature, but this seems to be a speedup as well (though
    that deserves looking into, itself).
    87edc344
str_iterator.py 32 Bytes