[Python-checkins] cpython: Closes #13867: remove untrue comment about PyWeakref_Check().
georg.brandl
python-checkins at python.org
Tue Oct 8 20:26:55 CEST 2013
http://hg.python.org/cpython/rev/1800107873c0
changeset: 86148:1800107873c0
parent: 86144:0f6133498def
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
@@ -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))
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list