Skip to content

Commit 1543c07

Browse files
committed
Add a comment that PyArg_GetInt is deprecated and should not be used
1 parent acb29ae commit 1543c07

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Include/Python.h

+1
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@
117117

118118
#include "abstract.h"
119119

120+
/* PyArg_GetInt is deprecated and should not be used, use PyArg_Parse(). */
120121
#define PyArg_GetInt(v, a) PyArg_Parse((v), "i", (a))
121122

122123
/* PyArg_NoArgs should not be necessary.

0 commit comments

Comments
 (0)