Re: Can't Iterate

2009-12-16 Thread Chris Rebert
On Wed, Dec 16, 2009 at 11:26 PM, Victor Subervi wrote: > Hi; > I have this line of code: > > for store in ourStores(): > > which is called from the statement: > > from particulars import ourStores > > The latter file has the following: > > def ourStores(): >   return ['prescriptions', 'products']

Can't Iterate

2009-12-16 Thread Victor Subervi
Hi; I have this line of code: for store in ourStores(): which is called from the statement: from particulars import ourStores The latter file has the following: def ourStores(): return ['prescriptions', 'products'] Yet, the above iteration only iterates the last of these items ('products').