aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python/pyfpe.c
diff options
context:
space:
mode:
authorCody Maloney <cmaloney@users.noreply.github.com>2025-03-19 10:27:55 -0700
committerGitHub <noreply@github.com>2025-03-19 18:27:55 +0100
commita4832f6b9a62771725b159bc7cd6c49fb45e3bc8 (patch)
treefff7c6e63f09b529236a5f938e71156e2e96cd55 /Python/pyfpe.c
parent5c44d7d99c470b4270b2f0e4841cf5a7f2499e15 (diff)
downloadcpython-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