Mercurial > cpython-lru_cache-weakref
diff Include/object.h @ 16768:d446e4ec9b7b legacy-trunk
The return value from PyObject_ClearWeakRefs() is no longer meaningful,
so make it void.
| author | Fred Drake <fdrake@acm.org> |
|---|---|
| date | Mon, 26 Feb 2001 18:56:37 +0000 |
| parents | 38204093d9c9 |
| children | 32e7d0898eab |
line wrap: on
line diff
--- a/Include/object.h Mon Feb 26 18:09:15 2001 +0000 +++ b/Include/object.h Mon Feb 26 18:56:37 2001 +0000 @@ -284,7 +284,7 @@ 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 *);
