[Python-checkins] cpython (2.7): Closes #13867: remove untrue comment about PyWeakref_Check().
georg.brandl
python-checkins at python.org
Tue Oct 8 20:33:02 CEST 2013
http://hg.python.org/cpython/rev/39e5ab118602
changeset: 86153:39e5ab118602
branch: 2.7
parent: 86145:c498d1090970
user: Georg Brandl <georg at python.org>
date: Tue Oct 08 19:50:26 2013 +0200
summary:
Closes #13867: remove untrue comment about PyWeakref_Check().
files:
Include/weakrefobject.h | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/Include/weakrefobject.h b/Include/weakrefobject.h
--- a/Include/weakrefobject.h
+++ b/Include/weakrefobject.h
@@ -49,9 +49,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))
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list