slice-alias (was Re: New statement proposal for Python)
Andrew Henshaw
ahenshawatapowerdotcom
Sat Jun 16 22:18:41 EDT 2001
"Alex Martelli" <aleaxit at yahoo.com> wrote in message
news:9gf6fk0b9l at enews1.newsguy.com...
...snip
> Takes some work, and is untested, but...:
...snipped code
> As you see, it itsn't perfect -- the slice should no doubt
> adjust its length in some more circumstances, the better
> to mimic a built-in sequence, specifically when it's subject
> to slice-assignment. But I hope it can get you started.
>
Many thanks and much awe...
Andy
More information about the Python-list
mailing list