diff options
author | Fred Drake <fdrake@acm.org> | 2001-02-26 18:56:37 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2001-02-26 18:56:37 (GMT) |
commit | b60654bc15597f4b08fb6d97774d655ae5176ca4 (patch) | |
tree | c0ced5ef94b82d6a48e24c80de8f2b7c3cffde7e /Include | |
parent | 4f9b13bac8335d4614499673a3349b2c97401f12 (diff) | |
download | cpython-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')
-rw-r--r-- | Include/object.h | 2 |
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 *); |