overloading indexing

Janos Blazi jblazi at hotmail.com
Tue Sep 4 22:54:28 CEST 2001

One can overload a[x] (when a is a class an one uses __getitem__) but it is
not possible to overload double indexing, i.e. a[x,y]. Am I right? And
a[x,y] is not the same as a[x][y] (as the latter can be overloaded).

Janos Blazi

-----=  Posted via Newsfeeds.Com, Uncensored Usenet News  =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
 Check out our new Unlimited Server. No Download or Time Limits!
-----==  Over 80,000 Newsgroups - 19 Different Servers!  ==-----

More information about the Python-list mailing list