mirror of
https://github.com/python/cpython.git
synced 2025-08-27 04:05:34 +00:00
SF 569257 -- Name mangle double underscored variable names in __slots__.
This commit is contained in:
parent
1d1e1dba12
commit
0ae0c07661
4 changed files with 49 additions and 7 deletions
|
@ -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))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue