diff options
author | Neil Schemenauer <nascheme@enme.ucalgary.ca> | 2005-10-23 18:37:42 +0000 |
---|---|---|
committer | Neil Schemenauer <nascheme@enme.ucalgary.ca> | 2005-10-23 18:37:42 +0000 |
commit | 8b528b28f15a78c116fc90303194ad8b1476034d (patch) | |
tree | b172112938d7e6850dd67217308f21eddfcb7356 /Include/symtable.h | |
parent | 3a44aaa30fd3f3d39abdbc3608b9f1b08b2443be (diff) | |
download | cpython-git-8b528b28f15a78c116fc90303194ad8b1476034d.tar.gz |
Fix private name mangling. The symtable also must do mangles so that
the scope of names can be correctly determined.
Diffstat (limited to 'Include/symtable.h')
-rw-r--r-- | Include/symtable.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/symtable.h b/Include/symtable.h index c8d8636ba3..ad7334b56c 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 */ }; |