From b296d096245e99eef774a77918f3a6950edde52b Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Tue, 8 Oct 2013 19:50:26 +0200 Subject: [PATCH] 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 537e7ebf287..17051568f3a 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))