Message31748
In the Python language reference <http://docs.python.org/ref/sequence-methods.html>, after the sentence
"""Deprecated since release 2.0. Support slice objects as parameters to the __getitem__() method."""
I suggest the following addition:
"""However, built-in types in CPython currently still implement __getslice__. Therefore, you have to override it in derived classes when implementing slicing.""" |
|
Date |
User |
Action |
Args |
2007-08-23 14:53:01 | admin | link | issue1697820 messages |
2007-08-23 14:53:01 | admin | create | |
|