Skip to content

Commit fac2acc

Browse files
Add visitor in tp_traverse.
1 parent b04218b commit fac2acc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Modules/_cursesmodule.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -850,6 +850,8 @@ static int
850850
PyCursesWindow_traverse(PyObject *self, visitproc visit, void *arg)
851851
{
852852
Py_VISIT(Py_TYPE(self));
853+
PyCursesWindowObject *wo = (PyCursesWindowObject *)self;
854+
Py_VISIT(wo->orig);
853855
return 0;
854856
}
855857

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy