mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
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.
This commit is contained in:
parent
c532b3c1ce
commit
74319ae219
7 changed files with 131 additions and 93 deletions
|
@ -61,7 +61,8 @@ PyAPI_FUNC(int) PyFunction_SetAnnotations(PyObject *, PyObject *);
|
|||
#ifndef Py_LIMITED_API
|
||||
PyAPI_FUNC(PyObject *) _PyFunction_FastCallDict(
|
||||
PyObject *func,
|
||||
PyObject **args, int nargs,
|
||||
PyObject **args,
|
||||
Py_ssize_t nargs,
|
||||
PyObject *kwargs);
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue