[Python-3000] Making more effective use of slice objects in Py3k (original) (raw)

Jim Jewett jimjjewett at gmail.com
Mon Aug 28 02:00:08 CEST 2006


On 8/27/06, Delaney, Timothy (Tim) <tdelaney at avaya.com> wrote:

Jim Jewett wrote:

> s[start:stop].find(prefix)

No matter what, I really think the obj[start:stop:step] syntax needs to be consistent in its behaviour - either returning a copy or a view -

Does it still matter if we're looking only at immutable sequences, such as text?

-jJ



More information about the Python-3000 mailing list