• Guido van Rossum's avatar
    Fix SF bug #443600: · 50d756e2
    Guido van Rossum yazdı
    Change to get/set/del slice operations so that if the object doesn't
    support slicing, *or* if either of the slice arguments is not an int
    or long, we construct a slice object and call the get/set/del item
    operation instead.  This makes it possible to design classes that
    support slice arguments of non-integral types.
    50d756e2
ceval.c 80.7 KB