[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
- Previous message: [Python-3000] Making more effective use of slice objects in Py3k
- Next message: [Python-3000] Making more effective use of slice objects in Py3k
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-3000] Making more effective use of slice objects in Py3k
- Next message: [Python-3000] Making more effective use of slice objects in Py3k
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]