Commit f13f466
authored
pythongh-99300: Use Py_NewRef() in Python/Python-ast.c (python#99499)
Replace Py_INCREF() and Py_XINCREF() with Py_NewRef() and
Py_XNewRef() in Python/Python-ast.c.
Update Parser/asdl_c.py to regenerate code.1 parent ee821dc commit f13f466
2 files changed
Lines changed: 78 additions & 144 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
675 | 675 | | |
676 | 676 | | |
677 | 677 | | |
678 | | - | |
679 | | - | |
| 678 | + | |
680 | 679 | | |
681 | 680 | | |
682 | 681 | | |
| |||
1021 | 1020 | | |
1022 | 1021 | | |
1023 | 1022 | | |
1024 | | - | |
| 1023 | + | |
| 1024 | + | |
| 1025 | + | |
| 1026 | + | |
1025 | 1027 | | |
1026 | | - | |
1027 | 1028 | | |
1028 | 1029 | | |
1029 | 1030 | | |
| |||
0 commit comments