Name for Python's list index system

Eddie and Babs kca17 at dial.pipex.com
Fri May 25 09:49:31 EDT 2001


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