Python 3.7 METH_FASTCALL backport (#406)

This commit is contained in:
Gautham 2022-05-13 17:35:12 +05:30 committed by GitHub
parent fec396037a
commit 83b743cf96
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
103 changed files with 2949 additions and 3356 deletions

View file

@ -4907,7 +4907,7 @@ long_get1(PyLongObject *v, void *context) {
}
static PyObject *
long__format__(PyObject *self, PyObject **args, Py_ssize_t nargs, PyObject *kwnames)
long__format__(PyObject *self, PyObject **args, Py_ssize_t nargs)
{
PyObject *format_spec;
_PyUnicodeWriter writer;
@ -5026,7 +5026,7 @@ _PyLong_DivmodNear(PyObject *a, PyObject *b)
}
static PyObject *
long_round(PyObject *self, PyObject **args, Py_ssize_t nargs, PyObject *kwnames)
long_round(PyObject *self, PyObject **args, Py_ssize_t nargs)
{
PyObject *o_ndigits=NULL, *temp, *result, *ndigits;