Am 06.05.2016 um 16:46 schrieb john:
On 05/06/2016 07:43 AM, john wrote:
BTW here is the source for __iter__
Which __iter__, in which class?
def__iter__(self):ifself._prefetch:res
=super(DictCursorBase,self).__iter__()first
=res.next()ifself._query_executed:self._build_index()ifnotself._prefetch:res
=super(DictCursorBase,self).__iter__()first =res.next()yieldfirst
while1:yieldres.next()
This has been badly mangled on the way, as you see. I failed to restore
the missing indentation at the second "if". Could you try again, or tell
me where this comes from?
Thank you,
Sibylle
_______________________________________________
Post Messages to: Dabo-users@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message:
http://leafe.com/archives/byMID/f60b3949-d50f-23e0-c69d-e1f16ecaf...@t-online.de