This is partly an oursql bug and partly a documentation bug. The correct behavior is what's listed in the documentation already; IterWrapper should take an iterable, not an iterator. I just forgot that I hadn't tested every snippet in the docs or I would've caught this sooner.
This is partly an oursql bug and partly a documentation bug. The correct behavior is what's listed in the documentation already; IterWrapper should take an iterable, not an iterator. I just forgot that I hadn't tested every snippet in the docs or I would've caught this sooner.
A fix is forthcoming.