summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2013-10-08 17:50:26 (GMT)
committerGeorg Brandl <georg@python.org>2013-10-08 17:50:26 (GMT)
commit4fe1260165292662daa2a8f2ed9891c23459abc8 (patch)
tree06980aad258eeb0f268cea8cd6620447bf0bfe52
parent6f2ec18b4e0aebee5a80391c6b5aba0437c8a69f (diff)
downloadcpython-4fe1260165292662daa2a8f2ed9891c23459abc8.zip
cpython-4fe1260165292662daa2a8f2ed9891c23459abc8.tar.gz
cpython-4fe1260165292662daa2a8f2ed9891c23459abc8.tar.bz2
Closes #13867: remove untrue comment about PyWeakref_Check().
-rw-r--r--Include/weakrefobject.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/Include/weakrefobject.h b/Include/weakrefobject.h
index e46aecf..e7c0eae 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))