Skip to content

Commit 284f66e

Browse files
committed
correctly use PyErr_SetRaisedException
1 parent 43145a8 commit 284f66e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/pyexpat.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ invalid_expat_handler_rv(const char *name)
523523
error:
524524
PyErr_Clear();
525525
done:
526-
_PyErr_ChainExceptions1(exc);
526+
PyErr_SetRaisedException(exc);
527527
}
528528

529529
#define RC_HANDLER(RETURN_TYPE, NAME, PARAMS, \

0 commit comments

Comments
 (0)