mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
fix _PyObject_CallArg1 compiler warnings (closes #28855)
This commit is contained in:
parent
d6958ac6c0
commit
7cf9e13f25
1 changed files with 1 additions and 1 deletions
|
@ -341,7 +341,7 @@ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx*/
|
|||
_PyObject_FastCall((func), NULL, 0)
|
||||
|
||||
#define _PyObject_CallArg1(func, arg) \
|
||||
_PyObject_FastCall((func), &(arg), 1)
|
||||
_PyObject_FastCall((func), (PyObject **)&(arg), 1)
|
||||
|
||||
PyAPI_FUNC(PyObject *) _PyObject_Call_Prepend(PyObject *func,
|
||||
PyObject *obj, PyObject *args,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue