mirror of
https://github.com/python/cpython.git
synced 2025-08-30 05:35:08 +00:00
Add a comment that PyArg_GetInt is deprecated and should not be used
This commit is contained in:
parent
acb29aed67
commit
1543c07fdf
1 changed files with 1 additions and 0 deletions
|
@ -117,6 +117,7 @@
|
|||
|
||||
#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))
|
||||
|
||||
/* PyArg_NoArgs should not be necessary.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue