pgsql: doc: Fix example with __next__() in PL/Python function

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема pgsql: doc: Fix example with __next__() in PL/Python function
Дата
Msg-id E1tFMm9-003Nsr-Nc@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
doc: Fix example with __next__() in PL/Python function

Per PEP 3114, iterator.next() has been renamed to iterator.__next__(),
and one example in the documentation still used next().  This caused the
example provided to fail the function creation since Python 2 is not
supported anymore since 19252e8ec93.

Author: Erik Wienhold
Discussion: https://postgr.es/m/173209043143.2092749.13692266486972491694@wrigleys.postgresql.org
Backpatch-through: 15

Branch
------
REL_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/ef2f4727b3fabf1b4463def531a7d99264bc321b

Modified Files
--------------
doc/src/sgml/plpython.sgml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)


В списке pgsql-committers по дате отправления: