diff options
author | Erlend Egeberg Aasland <erlend.aasland@innova.no> | 2021-02-16 08:50:00 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-16 08:50:00 +0100 |
commit | 871eb4237b9be95263ca13ba8856e78344eb9eba (patch) | |
tree | 25e8e7ac21e5656233c0111593e0de37e304ce65 /Include | |
parent | bpo-43155: Add PyCMethod_New to PC/python3dll.c (GH-24500) (diff) | |
download | cpython-master.tar.gz cpython-master.tar.bz2 cpython-master.zip |
Diffstat (limited to 'Include')
-rw-r--r-- | Include/descrobject.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/descrobject.h b/Include/descrobject.h index ead269d1d2f..703bc8fd6df 100644 --- a/Include/descrobject.h +++ b/Include/descrobject.h @@ -93,7 +93,7 @@ PyAPI_FUNC(PyObject *) PyDescr_NewGetSet(PyTypeObject *, #ifndef Py_LIMITED_API PyAPI_FUNC(PyObject *) PyDescr_NewWrapper(PyTypeObject *, struct wrapperbase *, void *); -#define PyDescr_IsData(d) (Py_TYPE(d)->tp_descr_set != NULL) +PyAPI_FUNC(int) PyDescr_IsData(PyObject *); #endif PyAPI_FUNC(PyObject *) PyDictProxy_New(PyObject *); |