• Tim Peters's avatar
    Generalize operator.indexOf (PySequence_Index) to work with any · 16a77adf
    Tim Peters yazdı
    iterable object.  I'm not sure how that got overlooked before!
    
    Got rid of the internal _PySequence_IterContains, introduced a new
    internal _PySequence_IterSearch, and rewrote all the iteration-based
    "count of", "index of", and "is the object in it or not?" routines to
    just call the new function.  I suppose it's slower this way, but the
    code duplication was getting depressing.
    16a77adf
To find the state of this project's repository at the time of any of these versions, check out the tags.
NEWS 93.7 KB