diff options
author | Cody Maloney <cmaloney@users.noreply.github.com> | 2025-03-19 10:27:55 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-19 18:27:55 +0100 |
commit | a4832f6b9a62771725b159bc7cd6c49fb45e3bc8 (patch) | |
tree | fff7c6e63f09b529236a5f938e71156e2e96cd55 /Python/pyfpe.c | |
parent | 5c44d7d99c470b4270b2f0e4841cf5a7f2499e15 (diff) | |
download | cpython-a4832f6b9a62771725b159bc7cd6c49fb45e3bc8.tar.gz cpython-a4832f6b9a62771725b159bc7cd6c49fb45e3bc8.zip |
gh-131117: Update tp_finalize example to use PyErr_GetRaisedException (#131118)
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.
Diffstat (limited to 'Python/pyfpe.c')
0 files changed, 0 insertions, 0 deletions