mirror of https://github.com/python/cpython
Add a comment that PyArg_GetInt is deprecated and should not be used
This commit is contained in:
parent
acb29aed67
commit
1543c07fdf
|
@ -117,6 +117,7 @@
|
||||||
|
|
||||||
#include "abstract.h"
|
#include "abstract.h"
|
||||||
|
|
||||||
|
/* PyArg_GetInt is deprecated and should not be used, use PyArg_Parse(). */
|
||||||
#define PyArg_GetInt(v, a) PyArg_Parse((v), "i", (a))
|
#define PyArg_GetInt(v, a) PyArg_Parse((v), "i", (a))
|
||||||
|
|
||||||
/* PyArg_NoArgs should not be necessary.
|
/* PyArg_NoArgs should not be necessary.
|
||||||
|
|
Loading…
Reference in New Issue