diff options
author | Stefan Behnel <stefan_ml@behnel.de> | 2022-07-04 10:28:15 +0200 |
---|---|---|
committer | Stefan Behnel <stefan_ml@behnel.de> | 2022-07-04 10:28:15 +0200 |
commit | c769c3295dec09fbbb607f249224ce385591dbcc (patch) | |
tree | a3406b8bd40bd42326a8de64fd56a7a34487d790 | |
parent | 7c7890348625871e6442b4b1bbd6e3e0e7c38e73 (diff) | |
download | cython-c769c3295dec09fbbb607f249224ce385591dbcc.tar.gz |
Revert "includes/cpython: Fix newfunc to use PyObject* for args/kwargs instead of object (#4823)"
This reverts commit 7c7890348625871e6442b4b1bbd6e3e0e7c38e73.
-rw-r--r-- | Cython/Includes/cpython/object.pxd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Cython/Includes/cpython/object.pxd b/Cython/Includes/cpython/object.pxd index 3ce4c6307..5a8116639 100644 --- a/Cython/Includes/cpython/object.pxd +++ b/Cython/Includes/cpython/object.pxd @@ -5,7 +5,7 @@ cdef extern from "Python.h": ctypedef struct PyObject # forward declaration - ctypedef object (*newfunc)(cpython.type.type, PyObject*, PyObject*) # (type, args|NULL, kwargs|NULL) + ctypedef object (*newfunc)(cpython.type.type, object, object) # (type, args, kwargs) ctypedef object (*unaryfunc)(object) ctypedef object (*binaryfunc)(object, object) |