summaryrefslogtreecommitdiffstats
path: root/Include/object.h
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-02-26 18:56:37 (GMT)
committerFred Drake <fdrake@acm.org>2001-02-26 18:56:37 (GMT)
commitb60654bc15597f4b08fb6d97774d655ae5176ca4 (patch)
treec0ced5ef94b82d6a48e24c80de8f2b7c3cffde7e /Include/object.h
parent4f9b13bac8335d4614499673a3349b2c97401f12 (diff)
downloadcpython-b60654bc15597f4b08fb6d97774d655ae5176ca4.zip
cpython-b60654bc15597f4b08fb6d97774d655ae5176ca4.tar.gz
cpython-b60654bc15597f4b08fb6d97774d655ae5176ca4.tar.bz2
The return value from PyObject_ClearWeakRefs() is no longer meaningful,
so make it void.
Diffstat (limited to 'Include/object.h')
-rw-r--r--Include/object.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/object.h b/Include/object.h
index 2f683eb..80669da 100644
--- a/Include/object.h
+++ b/Include/object.h
@@ -284,7 +284,7 @@ extern DL_IMPORT(int) PyCallable_Check(PyObject *);
extern DL_IMPORT(int) PyNumber_Coerce(PyObject **, PyObject **);
extern DL_IMPORT(int) PyNumber_CoerceEx(PyObject **, PyObject **);
-extern DL_IMPORT(int) (*PyObject_ClearWeakRefs)(PyObject *);
+extern DL_IMPORT(void) (*PyObject_ClearWeakRefs)(PyObject *);
/* Helpers for printing recursive container types */
extern DL_IMPORT(int) Py_ReprEnter(PyObject *);