mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 22:02:27 +00:00
Python 3.7 METH_FASTCALL backport (#406)
This commit is contained in:
parent
fec396037a
commit
83b743cf96
103 changed files with 2949 additions and 3356 deletions
4
third_party/python/Objects/longobject.c
vendored
4
third_party/python/Objects/longobject.c
vendored
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue