Might be a n00b question, but I currently have a class that implements an iterator so I can do something like
for i in class():
but I want
Implement both __iter__() and __getitem__() et alia methods.