From: Georg Brandl Date: Tue, 8 Oct 2013 17:50:26 +0000 (+0200) Subject: Closes #13867: remove untrue comment about PyWeakref_Check(). X-Git-Tag: v2.7.6rc1~61 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4fe1260165292662daa2a8f2ed9891c23459abc8;p=python Closes #13867: remove untrue comment about PyWeakref_Check(). --- diff --git a/Include/weakrefobject.h b/Include/weakrefobject.h index e46aecf385..e7c0eae539 100644 --- a/Include/weakrefobject.h +++ b/Include/weakrefobject.h @@ -49,9 +49,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))