PG Doc comments form <nore...@postgresql.org> writes: > Method `next` of an iterator should be named `__next__` instead.
This was reported and fixed recently [1], but thanks for the report! regards, tom lane https://git.postgresql.org/gitweb/?p=postgresql.git&a=commitdiff&h=2ff7c913d