diff options
author | Victor Stinner <vstinner@python.org> | 2023-06-26 06:08:12 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-26 06:08:12 (GMT) |
commit | 00e75a33728cdad7c10088acc36bc55b2f4a0efe (patch) | |
tree | c7be67273878a3b655a93f7a3500cff95c20e47f /Python/errors.c | |
parent | 93a970ffbce58657cc99305be69e460a11371730 (diff) | |
download | cpython-00e75a33728cdad7c10088acc36bc55b2f4a0efe.zip cpython-00e75a33728cdad7c10088acc36bc55b2f4a0efe.tar.gz cpython-00e75a33728cdad7c10088acc36bc55b2f4a0efe.tar.bz2 |
gh-106084: Remove old PyObject call aliases (#106085)
Remove old aliases which were kept backwards compatibility with
Python 3.8:
* _PyObject_CallMethodNoArgs()
* _PyObject_CallMethodOneArg()
* _PyObject_CallOneArg()
* _PyObject_FastCallDict()
* _PyObject_Vectorcall()
* _PyObject_VectorcallMethod()
* _PyVectorcall_Function()
Update code which used these aliases to use new names.
Diffstat (limited to 'Python/errors.c')
-rw-r--r-- | Python/errors.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/errors.c b/Python/errors.c index eab6503..b1a9858 100644 --- a/Python/errors.c +++ b/Python/errors.c @@ -1485,7 +1485,7 @@ write_unraisable_exc_file(PyThreadState *tstate, PyObject *exc_type, } /* Explicitly call file.flush() */ - PyObject *res = _PyObject_CallMethodNoArgs(file, &_Py_ID(flush)); + PyObject *res = PyObject_CallMethodNoArgs(file, &_Py_ID(flush)); if (!res) { return -1; } |