Name for Python's list index system

Emile van Sebille emile at fenx.com
Fri May 25 10:04:31 EDT 2001


It's called slicing.

--

Emile van Sebille
emile at fenx.com

---------
"Eddie and Babs" <kca17 at dial.pipex.com> wrote in message
news:3b0e6320$0$15025$cc9e4d1f at news.dial.pipex.com...
> A much-appreciated feature of Python is its subscripting/indexing system
> which allows you to write
>
>     list[-1]    # Get last element
>     list[-2]    # Get 2nd to last element
>
> ...etc.
>
> Do this feature have any "official" name in Python? If not, then I think
it
> should. Perhaps "modulo" or "modular" indices? (Could be abbreviated to
> "mod")
>
>
> &
>
>





More information about the Python-list mailing list