forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit2ff7c91
committed
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 theexample provided to fail the function creation since Python 2 is notsupported anymore since19252e8.Author: Erik WienholdDiscussion:https://postgr.es/m/173209043143.2092749.13692266486972491694@wrigleys.postgresql.orgBackpatch-through: 151 parent5de08f1 commit2ff7c91
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
553 | 553 |
| |
554 | 554 |
| |
555 | 555 |
| |
556 |
| - | |
| 556 | + | |
557 | 557 |
| |
558 | 558 |
| |
559 | 559 |
| |
| |||
569 | 569 |
| |
570 | 570 |
| |
571 | 571 |
| |
572 |
| - | |
| 572 | + | |
573 | 573 |
| |
574 | 574 |
| |
575 | 575 |
| |
|
0 commit comments
Comments
(0)