diff options
author | Michael Paquier <michael@paquier.xyz> | 2024-11-25 09:15:43 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2024-11-25 09:15:43 +0900 |
commit | ee3415c00a3156d9355ba75e369e10a25ce96c55 (patch) | |
tree | 4821f18533177af8ffd9d1f0c04080b931bc78ff /src/backend/jit/llvm/llvmjit_expr.c | |
parent | 4ecb136bfaa72780332c495259d99ffd236da50e (diff) | |
download | postgresql-ee3415c00a3156d9355ba75e369e10a25ce96c55.tar.gz postgresql-ee3415c00a3156d9355ba75e369e10a25ce96c55.zip |
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
Diffstat (limited to 'src/backend/jit/llvm/llvmjit_expr.c')
0 files changed, 0 insertions, 0 deletions