mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
Closes #13867: remove untrue comment about PyWeakref_Check().
This commit is contained in:
@@ -51,9 +51,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))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user