Mercurial > cpython-lru_cache-weakref
diff Include/Python.h @ 22567:aedda0abd313 legacy-trunk
Add a comment that PyArg_GetInt is deprecated and should not be used
| author | Neal Norwitz <nnorwitz@gmail.com> |
|---|---|
| date | Mon, 25 Mar 2002 22:21:58 +0000 |
| parents | 043ad7adc896 |
| children | aa8d59823add |
line wrap: on
line diff
--- a/Include/Python.h Mon Mar 25 22:04:23 2002 +0000 +++ b/Include/Python.h Mon Mar 25 22:21:58 2002 +0000 @@ -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.
