summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorNeil Schemenauer <nascheme@enme.ucalgary.ca>2005-10-23 18:37:42 (GMT)
committerNeil Schemenauer <nascheme@enme.ucalgary.ca>2005-10-23 18:37:42 (GMT)
commit8b528b28f15a78c116fc90303194ad8b1476034d (patch)
treeb172112938d7e6850dd67217308f21eddfcb7356 /Include
parent3a44aaa30fd3f3d39abdbc3608b9f1b08b2443be (diff)
downloadcpython-8b528b28f15a78c116fc90303194ad8b1476034d.zip
cpython-8b528b28f15a78c116fc90303194ad8b1476034d.tar.gz
cpython-8b528b28f15a78c116fc90303194ad8b1476034d.tar.bz2
Fix private name mangling. The symtable also must do mangles so that
the scope of names can be correctly determined.
Diffstat (limited to 'Include')
-rw-r--r--Include/symtable.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/symtable.h b/Include/symtable.h
index c8d8636..ad7334b 100644
--- a/Include/symtable.h
+++ b/Include/symtable.h
@@ -17,7 +17,7 @@ struct symtable {
PyObject *st_stack; /* stack of namespace info */
PyObject *st_global; /* borrowed ref to MODULE in st_symbols */
int st_nblocks; /* number of blocks */
- char *st_private; /* name of current class or NULL */
+ PyObject *st_private; /* name of current class or NULL */
int st_tmpname; /* temporary name counter */
PyFutureFeatures *st_future; /* module's future features */
};