Why is __getslice__ still implemented?
steven.bethard at gmail.com
Tue Apr 10 19:29:50 CEST 2007
Torsten Bronger wrote:
> Steven Bethard writes:
>> Torsten Bronger wrote:
>>> [...] It forces people to implement a deprecated function after
>>> all. I think the docs should say that you still have to override
>>> __getslice__ when subclassing from a built-in type, unless I
>>> really don't understand the issue correctly.
>> [...] If you have a specific suggestion for what doc should be
>> updated and how, that would be helpful. Please post it to:
More information about the Python-list