summaryrefslogtreecommitdiffstats
path: root/Include/code.h
diff options
context:
space:
mode:
Diffstat (limited to 'Include/code.h')
-rw-r--r--Include/code.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/code.h b/Include/code.h
index c93d861..f0f88cd 100644
--- a/Include/code.h
+++ b/Include/code.h
@@ -27,6 +27,7 @@ typedef struct {
PyObject *co_lnotab; /* string (encoding addr<->lineno mapping) See
Objects/lnotab_notes.txt for details. */
void *co_zombieframe; /* for optimization only (see frameobject.c) */
+ PyObject *co_weakreflist; /* to support weakrefs to code objects */
} PyCodeObject;
/* Masks for co_flags above */