Re: Misprints in code

2024-11-24 Thread Michael Paquier
On Thu, Nov 21, 2024 at 04:31:07PM +0100, Erik Wienhold wrote: > Good catch! That's a leftover from Python 2 and missed in commit > 4228cabb72b after Python 2 was dropped in 15.0. Patch attached. > > While looking at, we can also simplify a couple of plpython3u test > functions that still try re

Re: Misprints in code

2024-11-21 Thread Erik Wienhold
On 2024-11-20 09:13 +0100, PG Doc comments form wrote: > 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: