diff options
author | Guido van Rossum <guido@python.org> | 2001-08-18 17:43:36 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-08-18 17:43:36 (GMT) |
commit | 50d756e262fc6804336e5a624aee0d885a195973 (patch) | |
tree | 09a1397adc797a5cf28bbb5c4cdbd82a899bcdf7 /Modules | |
parent | b60f2d0977323d50e521718301f962ed40e88d69 (diff) | |
download | cpython-50d756e262fc6804336e5a624aee0d885a195973.zip cpython-50d756e262fc6804336e5a624aee0d885a195973.tar.gz cpython-50d756e262fc6804336e5a624aee0d885a195973.tar.bz2 |
Fix SF bug #443600:
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.
Diffstat (limited to 'Modules')
0 files changed, 0 insertions, 0 deletions