On Sun, 8 Dec 2013 12:58:18 -0800, Igor Korot <ikorot01 at gmail.com> wrote: > It's input is the query result, so there is no looping when the > function is called. It is called only once. Then why save part of the result in an instance attribute? Just return all of the results as a tuple. -- DaveA