Skip to content

Commit b296d09

Browse files
committed
Closes #13867: remove untrue comment about PyWeakref_Check().
1 parent c377fe2 commit b296d09

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Include/weakrefobject.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,6 @@ PyAPI_DATA(PyTypeObject) _PyWeakref_CallableProxyType;
5151
((Py_TYPE(op) == &_PyWeakref_ProxyType) || \
5252
(Py_TYPE(op) == &_PyWeakref_CallableProxyType))
5353

54-
/* This macro calls PyWeakref_CheckRef() last since that can involve a
55-
function call; this makes it more likely that the function call
56-
will be avoided. */
5754
#define PyWeakref_Check(op) \
5855
(PyWeakref_CheckRef(op) || PyWeakref_CheckProxy(op))
5956

0 commit comments

Comments
 (0)