Commit a4832f6
authored
The tp_finalize C API doc used PyErr_Fetch() and PyErr_Restore() in
its example code. That API was deprecated in 3.12.
Update to point to the suggested replacement function
PyErr_GetRaisedException() which has a sample usage.
1 parent 5c44d7d commit a4832f6
1 file changed
+2
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2154 | 2154 | | |
2155 | 2155 | | |
2156 | 2156 | | |
2157 | | - | |
2158 | | - | |
2159 | 2157 | | |
2160 | | - | |
| 2158 | + | |
2161 | 2159 | | |
2162 | 2160 | | |
2163 | 2161 | | |
2164 | 2162 | | |
2165 | | - | |
| 2163 | + | |
2166 | 2164 | | |
2167 | 2165 | | |
2168 | 2166 | | |
| |||
0 commit comments