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