summaryrefslogtreecommitdiffstats
path: root/Python/sysmodule.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2023-06-30 01:05:01 (GMT)
committerGitHub <noreply@github.com>2023-06-30 01:05:01 (GMT)
commit8c5f74fc89e35827c52753fe620b32207d537319 (patch)
tree62a1eba40b01250e97f2c5cd263456b4cb7e734a /Python/sysmodule.c
parente7bc8d16364bde54487eab349a29d58345e35f28 (diff)
downloadcpython-8c5f74fc89e35827c52753fe620b32207d537319.zip
cpython-8c5f74fc89e35827c52753fe620b32207d537319.tar.gz
cpython-8c5f74fc89e35827c52753fe620b32207d537319.tar.bz2
gh-106023: Update code using _PyObject_FastCall() (#106257)
Replace _PyObject_FastCall() calls with PyObject_Vectorcall().
Diffstat (limited to 'Python/sysmodule.c')
-rw-r--r--Python/sysmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/sysmodule.c b/Python/sysmodule.c
index 0cd8974..723fcdb 100644
--- a/Python/sysmodule.c
+++ b/Python/sysmodule.c
@@ -268,7 +268,7 @@ sys_audit_tstate(PyThreadState *ts, const char *event,
PyThreadState_LeaveTracing(ts);
}
PyObject* args[2] = {eventName, eventArgs};
- o = _PyObject_FastCallTstate(ts, hook, args, 2);
+ o = _PyObject_VectorcallTstate(ts, hook, args, 2, NULL);
if (canTrace) {
PyThreadState_EnterTracing(ts);
}