cpython: 1800107873c0 (original) (raw)

Mercurial > cpython

changeset 86148:1800107873c0

Closes #13867: remove untrue comment about PyWeakref_Check(). [#13867]

Georg Brandl georg@python.org
date Tue, 08 Oct 2013 19:50:26 +0200
parents 0f6133498def
children 9619c22b2c97
files Include/weakrefobject.h
diffstat 1 files changed, 0 insertions(+), 3 deletions(-)[+] [-] Include/weakrefobject.h 3

line wrap: on

line diff

--- a/Include/weakrefobject.h +++ b/Include/weakrefobject.h @@ -51,9 +51,6 @@ PyAPI_DATA(PyTypeObject) _PyWeakref_Call ((Py_TYPE(op) == &_PyWeakref_ProxyType) || [](#l1.4) (Py_TYPE(op) == &_PyWeakref_CallableProxyType)) -/* This macro calls PyWeakref_CheckRef() last since that can involve a

#define PyWeakref_Check(op) [](#l1.10) (PyWeakref_CheckRef(op) || PyWeakref_CheckProxy(op))