Обсуждение: next method of Python iterators

Поиск
Список
Период
Сортировка

next method of Python iterators

От
PG Doc comments form
Дата:
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.

Re: next method of Python iterators

От
Tom Lane
Дата:
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&a=commitdiff&h=2ff7c913d