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

2024-11-24 Thread Michael Paquier
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 19252e

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

2024-11-24 Thread Michael Paquier
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 19252e

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

2024-11-24 Thread Michael Paquier
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 19252e

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

2024-11-24 Thread Michael Paquier
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 19252e