aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2016-08-25 00:04:09 +0200
committerVictor Stinner <victor.stinner@gmail.com>2016-08-25 00:04:09 +0200
commit74319ae219e049ae78897513b897c513f2d06445 (patch)
treed33588f2a4330c62f340ec51b9f4655b4a6d7fd7 /Include/abstract.h
parentMerge with 3.5 (diff)
downloadcpython-74319ae219e049ae78897513b897c513f2d06445.tar.gz
cpython-74319ae219e049ae78897513b897c513f2d06445.tar.bz2
cpython-74319ae219e049ae78897513b897c513f2d06445.zip
Use Py_ssize_t type for number of arguments
Issue #27848: use Py_ssize_t rather than C int for the number of function positional and keyword arguments.
Diffstat (limited to 'Include/abstract.h')
-rw-r--r--Include/abstract.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/abstract.h b/Include/abstract.h
index 69c4890a9e7..582086486bf 100644
--- a/Include/abstract.h
+++ b/Include/abstract.h
@@ -280,7 +280,7 @@ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx*/
Return the result on success. Raise an exception on return NULL on
error. */
PyAPI_FUNC(PyObject *) _PyObject_FastCallDict(PyObject *func,
- PyObject **args, int nargs,
+ PyObject **args, Py_ssize_t nargs,
PyObject *kwargs);
#define _PyObject_FastCall(func, args, nargs) \