Add a comment that PyArg_GetInt is deprecated and should not be used

This commit is contained in:
Neal Norwitz 2002-03-25 22:21:58 +00:00
parent acb29aed67
commit 1543c07fdf
1 changed files with 1 additions and 0 deletions

View File

@ -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.