Thread: Misprints in code

Misprints in code

From
PG Doc comments form
Date:
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)