next method of Python iterators

Started by PG Bug reporting formover 1 year ago2 messagesdocs
Jump to latest
#1PG Bug reporting form
noreply@postgresql.org

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/17/plpython-data.html
Description:

Method `next` of an iterator should be named `__next__` instead.

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: PG Bug reporting form (#1)
Re: next method of Python iterators

PG Doc comments form <noreply@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&amp;a=commitdiff&amp;h=2ff7c913d