SF 569257 -- Name mangle double underscored variable names in __slots__.

This commit is contained in:
Raymond Hettinger 2002-06-20 22:23:15 +00:00
parent 1d1e1dba12
commit 0ae0c07661
4 changed files with 49 additions and 7 deletions

View file

@ -119,6 +119,10 @@
#include "abstract.h"
/* _Py_Mangle is defined in compile.c */
extern DL_IMPORT(int) _Py_Mangle(char *p, char *name, \
char *buffer, size_t maxlen);
/* PyArg_GetInt is deprecated and should not be used, use PyArg_Parse(). */
#define PyArg_GetInt(v, a) PyArg_Parse((v), "i", (a))