Misprints in code
The Post Office <noreply@postgresql.org>
From: PG Doc comments form <noreply@postgresql.org>
To: pgsql-docs@lists.postgresql.org
Cc: el481@yandex.ru
Date: 2024-11-20T08:13:51Z
Lists: pgsql-docs
The following documentation comment has been logged on the website: Page: https://www.postgresql.org/docs/14/plpython-data.html Description: https://www.postgresql.org/docs/16/plpython-data.html#PLPYTHON-DATA-SET-RETURNING-FUNCS The code contains a misprint in the following section: Iterator (any object providing __iter__ and next methods) def next (self): must be: def __next__ (self): Also, the header - Iterator (any object providing __iter__ and next methods) should be Iterator (any object providing __iter__ and __next__ methods)
Commits
-
Simplify some SPI tests of PL/Python
- db80507d9846 18.0 landed
-
doc: Fix example with __next__() in PL/Python function
- ef2f4727b3fa 15.11 landed
- ee3415c00a31 16.7 landed
- 1a52069914eb 17.3 landed
- 2ff7c913d92d 18.0 landed
-
plpython: Adjust docs after removal of Python 2 support.
- 4228cabb72bb 15.0 cited