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: v3.4.0a4~210^2^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b296d096245e99eef774a77918f3a6950edde52b;p=thirdparty%2FPython%2Fcpython.git Closes #13867: remove untrue comment about PyWeakref_Check(). --- diff --git a/Include/weakrefobject.h b/Include/weakrefobject.h index 537e7ebf2878..17051568f3a6 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))