summaryrefslogtreecommitdiff
path: root/Include
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-03-17 09:00:00 +0000
committerNeal Norwitz <nnorwitz@gmail.com>2006-03-17 09:00:00 +0000
commit2a8606e05706ed40892047188be349f3dd9c0147 (patch)
treeba79126c900b4fd0c574da0becd4e8b26d594d22 /Include
parentf975d6276c3bf09a76da8b9c8877779467b0a02e (diff)
downloadcpython-2a8606e05706ed40892047188be349f3dd9c0147.tar.gz
Remove PyArg_NoArgs() and PyArg_GetInt()
Diffstat (limited to 'Include')
-rw-r--r--Include/Python.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/Include/Python.h b/Include/Python.h
index 8df7dbc3e8..161c838fee 100644
--- a/Include/Python.h
+++ b/Include/Python.h
@@ -131,13 +131,6 @@
/* _Py_Mangle is defined in compile.c */
PyAPI_FUNC(PyObject*) _Py_Mangle(PyObject *p, PyObject *name);
-/* 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.
- Set ml_flags in the PyMethodDef to METH_NOARGS. */
-#define PyArg_NoArgs(v) PyArg_Parse(v, "")
-
/* Convert a possibly signed character to a nonnegative int */
/* XXX This assumes characters are 8 bits wide */
#ifdef __CHAR_UNSIGNED__