__getitem__ AttributeError

Jeroen Valcke jeroen at valcke.com
Wed Nov 1 13:56:27 EST 2000


Stephan Effelsberg wrote:
> You stated that you want to call a _method_ ! Can't see the wood for the
> trees?
> --> slide.display()

Yep, that was the problem. I got a solution in the posting from Alex
Martelli
Apparantly I need to define a __getitem__ method in the class Slidelist

-- 
  Jeroen Valcke			jeroen at valcke.com   
  ICQ# 30116911			Home: http://www.valcke.com/jeroen/
  Phone +32(0)56 32 91 37	Mobile +32(0)486 88 21 26
  The road of excess leads to the palace of wisdom (W. Blake)



More information about the Python-list mailing list