summaryrefslogtreecommitdiff
path: root/Include
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-02-26 18:56:37 +0000
committerFred Drake <fdrake@acm.org>2001-02-26 18:56:37 +0000
commit60cd549f4066222813c8ac4a034df8ce4083f11d (patch)
tree6c26c3ee9cba67bedb11b34744104f932293fb51 /Include
parent952fa2dc93ba66ab408ab61985b47446d7a31731 (diff)
downloadcpython-60cd549f4066222813c8ac4a034df8ce4083f11d.tar.gz
The return value from PyObject_ClearWeakRefs() is no longer meaningful,
so make it void.
Diffstat (limited to 'Include')
-rw-r--r--Include/object.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/object.h b/Include/object.h
index 2f683eb588..80669da7d9 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 *);