summaryrefslogtreecommitdiff
path: root/Include/Python.h
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2002-03-25 22:21:58 +0000
committerNeal Norwitz <nnorwitz@gmail.com>2002-03-25 22:21:58 +0000
commit1543c07fdf1468dd4266934cc0f42d258e7c35ee (patch)
treecee80cba34f22d446de3033aaf5c133e1c1070fc /Include/Python.h
parentacb29aed679cfcf97becb3b54a993046b2eeca65 (diff)
downloadcpython-git-1543c07fdf1468dd4266934cc0f42d258e7c35ee.tar.gz
Add a comment that PyArg_GetInt is deprecated and should not be used
Diffstat (limited to 'Include/Python.h')
-rw-r--r--Include/Python.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/Python.h b/Include/Python.h
index d3fce4b2ca..934997f11a 100644
--- a/Include/Python.h
+++ b/Include/Python.h
@@ -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.