From fe9e3b8e215c62cfcc4d8dc27bfd4586f8c6e4c2 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Tue, 8 Oct 2013 19:50:26 +0200 Subject: Closes #13867: remove untrue comment about PyWeakref_Check(). --- Include/weakrefobject.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/Include/weakrefobject.h b/Include/weakrefobject.h index 537e7eb..1705156 100644 --- a/Include/weakrefobject.h +++ b/Include/weakrefobject.h @@ -51,9 +51,6 @@ PyAPI_DATA(PyTypeObject) _PyWeakref_CallableProxyType; ((Py_TYPE(op) == &_PyWeakref_ProxyType) || \ (Py_TYPE(op) == &_PyWeakref_CallableProxyType)) -/* This macro calls PyWeakref_CheckRef() last since that can involve a - function call; this makes it more likely that the function call - will be avoided. */ #define PyWeakref_Check(op) \ (PyWeakref_CheckRef(op) || PyWeakref_CheckProxy(op)) -- cgit v0.12