(original) (raw)
changeset: 86148:1800107873c0 parent: 86144:0f6133498def user: Georg Brandl georg@python.org date: Tue Oct 08 19:50:26 2013 +0200 files: Include/weakrefobject.h description: Closes #13867: remove untrue comment about PyWeakref_Check(). diff -r 0f6133498def -r 1800107873c0 Include/weakrefobject.h --- a/Include/weakrefobject.h Tue Oct 08 08:06:27 2013 +0200 +++ b/Include/weakrefobject.h Tue Oct 08 19:50:26 2013 +0200 @@ -51,9 +51,6 @@ ((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)) /georg@python.org