bpo-32240: Add the const qualifier to declarations of PyObject* array arguments. (#4746)

This commit is contained in:
Serhiy Storchaka 2017-12-15 13:11:11 +02:00 committed by GitHub
parent 3325a6780c
commit a5552f023e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
88 changed files with 669 additions and 662 deletions

View File

@ -301,7 +301,7 @@ the same library that the Python runtime is using.
set to *NULL*. set to *NULL*.
.. c:function:: PyObject* PyEval_EvalCodeEx(PyObject *co, PyObject *globals, PyObject *locals, PyObject **args, int argcount, PyObject **kws, int kwcount, PyObject **defs, int defcount, PyObject *kwdefs, PyObject *closure) .. c:function:: PyObject* PyEval_EvalCodeEx(PyObject *co, PyObject *globals, PyObject *locals, PyObject *const *args, int argcount, PyObject *const *kws, int kwcount, PyObject *const *defs, int defcount, PyObject *kwdefs, PyObject *closure)
Evaluate a precompiled code object, given a particular environment for its Evaluate a precompiled code object, given a particular environment for its
evaluation. This environment consists of a dictionary of global variables, evaluation. This environment consists of a dictionary of global variables,

View File

@ -157,11 +157,11 @@ PyAPI_FUNC(PyObject *) PyObject_Call(PyObject *callable,
#ifndef Py_LIMITED_API #ifndef Py_LIMITED_API
PyAPI_FUNC(PyObject*) _PyStack_AsTuple( PyAPI_FUNC(PyObject*) _PyStack_AsTuple(
PyObject **stack, PyObject *const *stack,
Py_ssize_t nargs); Py_ssize_t nargs);
PyAPI_FUNC(PyObject*) _PyStack_AsTupleSlice( PyAPI_FUNC(PyObject*) _PyStack_AsTupleSlice(
PyObject **stack, PyObject *const *stack,
Py_ssize_t nargs, Py_ssize_t nargs,
Py_ssize_t start, Py_ssize_t start,
Py_ssize_t end); Py_ssize_t end);
@ -177,7 +177,7 @@ PyAPI_FUNC(PyObject*) _PyStack_AsTupleSlice(
an exception, the caller is responsible to implement an explicit keys on an exception, the caller is responsible to implement an explicit keys on
kwnames. */ kwnames. */
PyAPI_FUNC(PyObject *) _PyStack_AsDict( PyAPI_FUNC(PyObject *) _PyStack_AsDict(
PyObject **values, PyObject *const *values,
PyObject *kwnames); PyObject *kwnames);
/* Convert (args, nargs, kwargs: dict) into a (stack, nargs, kwnames: tuple). /* Convert (args, nargs, kwargs: dict) into a (stack, nargs, kwnames: tuple).
@ -192,10 +192,10 @@ PyAPI_FUNC(PyObject *) _PyStack_AsDict(
The type of keyword keys is not checked, these checks should be done The type of keyword keys is not checked, these checks should be done
later (ex: _PyArg_ParseStackAndKeywords). */ later (ex: _PyArg_ParseStackAndKeywords). */
PyAPI_FUNC(int) _PyStack_UnpackDict( PyAPI_FUNC(int) _PyStack_UnpackDict(
PyObject **args, PyObject *const *args,
Py_ssize_t nargs, Py_ssize_t nargs,
PyObject *kwargs, PyObject *kwargs,
PyObject ***p_stack, PyObject *const **p_stack,
PyObject **p_kwnames); PyObject **p_kwnames);
/* Suggested size (number of positional arguments) for arrays of PyObject* /* Suggested size (number of positional arguments) for arrays of PyObject*
@ -224,7 +224,7 @@ PyAPI_FUNC(int) _PyObject_HasFastCall(PyObject *callable);
error. */ error. */
PyAPI_FUNC(PyObject *) _PyObject_FastCallDict( PyAPI_FUNC(PyObject *) _PyObject_FastCallDict(
PyObject *callable, PyObject *callable,
PyObject **args, PyObject *const *args,
Py_ssize_t nargs, Py_ssize_t nargs,
PyObject *kwargs); PyObject *kwargs);
@ -245,7 +245,7 @@ PyAPI_FUNC(PyObject *) _PyObject_FastCallDict(
error. */ error. */
PyAPI_FUNC(PyObject *) _PyObject_FastCallKeywords( PyAPI_FUNC(PyObject *) _PyObject_FastCallKeywords(
PyObject *callable, PyObject *callable,
PyObject **args, PyObject *const *args,
Py_ssize_t nargs, Py_ssize_t nargs,
PyObject *kwnames); PyObject *kwnames);
@ -264,7 +264,7 @@ PyAPI_FUNC(PyObject *) _PyObject_Call_Prepend(
PyAPI_FUNC(PyObject *) _PyObject_FastCall_Prepend( PyAPI_FUNC(PyObject *) _PyObject_FastCall_Prepend(
PyObject *callable, PyObject *callable,
PyObject *obj, PyObject *obj,
PyObject **args, PyObject *const *args,
Py_ssize_t nargs); Py_ssize_t nargs);
PyAPI_FUNC(PyObject *) _Py_CheckFunctionResult(PyObject *callable, PyAPI_FUNC(PyObject *) _Py_CheckFunctionResult(PyObject *callable,

View File

@ -92,7 +92,7 @@ PyAPI_FUNC(PyObject *) PyDescr_NewGetSet(PyTypeObject *,
#ifndef Py_LIMITED_API #ifndef Py_LIMITED_API
PyAPI_FUNC(PyObject *) _PyMethodDescr_FastCallKeywords( PyAPI_FUNC(PyObject *) _PyMethodDescr_FastCallKeywords(
PyObject *descrobj, PyObject **stack, Py_ssize_t nargs, PyObject *kwnames); PyObject *descrobj, PyObject *const *stack, Py_ssize_t nargs, PyObject *kwnames);
PyAPI_FUNC(PyObject *) PyDescr_NewWrapper(PyTypeObject *, PyAPI_FUNC(PyObject *) PyDescr_NewWrapper(PyTypeObject *,
struct wrapperbase *, void *); struct wrapperbase *, void *);
#define PyDescr_IsData(d) (Py_TYPE(d)->tp_descr_set != NULL) #define PyDescr_IsData(d) (Py_TYPE(d)->tp_descr_set != NULL)

View File

@ -12,19 +12,19 @@ PyAPI_FUNC(PyObject *) PyEval_EvalCode(PyObject *, PyObject *, PyObject *);
PyAPI_FUNC(PyObject *) PyEval_EvalCodeEx(PyObject *co, PyAPI_FUNC(PyObject *) PyEval_EvalCodeEx(PyObject *co,
PyObject *globals, PyObject *globals,
PyObject *locals, PyObject *locals,
PyObject **args, int argc, PyObject *const *args, int argc,
PyObject **kwds, int kwdc, PyObject *const *kwds, int kwdc,
PyObject **defs, int defc, PyObject *const *defs, int defc,
PyObject *kwdefs, PyObject *closure); PyObject *kwdefs, PyObject *closure);
#ifndef Py_LIMITED_API #ifndef Py_LIMITED_API
PyAPI_FUNC(PyObject *) _PyEval_EvalCodeWithName( PyAPI_FUNC(PyObject *) _PyEval_EvalCodeWithName(
PyObject *co, PyObject *co,
PyObject *globals, PyObject *locals, PyObject *globals, PyObject *locals,
PyObject **args, Py_ssize_t argcount, PyObject *const *args, Py_ssize_t argcount,
PyObject **kwnames, PyObject **kwargs, PyObject *const *kwnames, PyObject *const *kwargs,
Py_ssize_t kwcount, int kwstep, Py_ssize_t kwcount, int kwstep,
PyObject **defs, Py_ssize_t defcount, PyObject *const *defs, Py_ssize_t defcount,
PyObject *kwdefs, PyObject *closure, PyObject *kwdefs, PyObject *closure,
PyObject *name, PyObject *qualname); PyObject *name, PyObject *qualname);

View File

@ -61,13 +61,13 @@ PyAPI_FUNC(int) PyFunction_SetAnnotations(PyObject *, PyObject *);
#ifndef Py_LIMITED_API #ifndef Py_LIMITED_API
PyAPI_FUNC(PyObject *) _PyFunction_FastCallDict( PyAPI_FUNC(PyObject *) _PyFunction_FastCallDict(
PyObject *func, PyObject *func,
PyObject **args, PyObject *const *args,
Py_ssize_t nargs, Py_ssize_t nargs,
PyObject *kwargs); PyObject *kwargs);
PyAPI_FUNC(PyObject *) _PyFunction_FastCallKeywords( PyAPI_FUNC(PyObject *) _PyFunction_FastCallKeywords(
PyObject *func, PyObject *func,
PyObject **stack, PyObject *const *stack,
Py_ssize_t nargs, Py_ssize_t nargs,
PyObject *kwnames); PyObject *kwnames);
#endif #endif

View File

@ -16,11 +16,11 @@ PyAPI_DATA(PyTypeObject) PyCFunction_Type;
#define PyCFunction_Check(op) (Py_TYPE(op) == &PyCFunction_Type) #define PyCFunction_Check(op) (Py_TYPE(op) == &PyCFunction_Type)
typedef PyObject *(*PyCFunction)(PyObject *, PyObject *); typedef PyObject *(*PyCFunction)(PyObject *, PyObject *);
typedef PyObject *(*_PyCFunctionFast) (PyObject *, PyObject **, Py_ssize_t); typedef PyObject *(*_PyCFunctionFast) (PyObject *, PyObject *const *, Py_ssize_t);
typedef PyObject *(*PyCFunctionWithKeywords)(PyObject *, PyObject *, typedef PyObject *(*PyCFunctionWithKeywords)(PyObject *, PyObject *,
PyObject *); PyObject *);
typedef PyObject *(*_PyCFunctionFastWithKeywords) (PyObject *, typedef PyObject *(*_PyCFunctionFastWithKeywords) (PyObject *,
PyObject **, Py_ssize_t, PyObject *const *, Py_ssize_t,
PyObject *); PyObject *);
typedef PyObject *(*PyNoArgsFunction)(PyObject *); typedef PyObject *(*PyNoArgsFunction)(PyObject *);
@ -43,12 +43,12 @@ PyAPI_FUNC(PyObject *) PyCFunction_Call(PyObject *, PyObject *, PyObject *);
#ifndef Py_LIMITED_API #ifndef Py_LIMITED_API
PyAPI_FUNC(PyObject *) _PyCFunction_FastCallDict(PyObject *func, PyAPI_FUNC(PyObject *) _PyCFunction_FastCallDict(PyObject *func,
PyObject **args, PyObject *const *args,
Py_ssize_t nargs, Py_ssize_t nargs,
PyObject *kwargs); PyObject *kwargs);
PyAPI_FUNC(PyObject *) _PyCFunction_FastCallKeywords(PyObject *func, PyAPI_FUNC(PyObject *) _PyCFunction_FastCallKeywords(PyObject *func,
PyObject **stack, PyObject *const *stack,
Py_ssize_t nargs, Py_ssize_t nargs,
PyObject *kwnames); PyObject *kwnames);
#endif #endif
@ -110,14 +110,14 @@ typedef struct {
PyAPI_FUNC(PyObject *) _PyMethodDef_RawFastCallDict( PyAPI_FUNC(PyObject *) _PyMethodDef_RawFastCallDict(
PyMethodDef *method, PyMethodDef *method,
PyObject *self, PyObject *self,
PyObject **args, PyObject *const *args,
Py_ssize_t nargs, Py_ssize_t nargs,
PyObject *kwargs); PyObject *kwargs);
PyAPI_FUNC(PyObject *) _PyMethodDef_RawFastCallKeywords( PyAPI_FUNC(PyObject *) _PyMethodDef_RawFastCallKeywords(
PyMethodDef *method, PyMethodDef *method,
PyObject *self, PyObject *self,
PyObject **args, PyObject *const *args,
Py_ssize_t nargs, Py_ssize_t nargs,
PyObject *kwnames); PyObject *kwnames);
#endif #endif

View File

@ -52,7 +52,7 @@ PyAPI_FUNC(PyObject *) _Py_BuildValue_SizeT(const char *, ...);
#ifndef Py_LIMITED_API #ifndef Py_LIMITED_API
PyAPI_FUNC(int) _PyArg_UnpackStack( PyAPI_FUNC(int) _PyArg_UnpackStack(
PyObject **args, PyObject *const *args,
Py_ssize_t nargs, Py_ssize_t nargs,
const char *name, const char *name,
Py_ssize_t min, Py_ssize_t min,
@ -99,12 +99,12 @@ typedef struct _PyArg_Parser {
PyAPI_FUNC(int) _PyArg_ParseTupleAndKeywordsFast(PyObject *, PyObject *, PyAPI_FUNC(int) _PyArg_ParseTupleAndKeywordsFast(PyObject *, PyObject *,
struct _PyArg_Parser *, ...); struct _PyArg_Parser *, ...);
PyAPI_FUNC(int) _PyArg_ParseStack( PyAPI_FUNC(int) _PyArg_ParseStack(
PyObject **args, PyObject *const *args,
Py_ssize_t nargs, Py_ssize_t nargs,
const char *format, const char *format,
...); ...);
PyAPI_FUNC(int) _PyArg_ParseStackAndKeywords( PyAPI_FUNC(int) _PyArg_ParseStackAndKeywords(
PyObject **args, PyObject *const *args,
Py_ssize_t nargs, Py_ssize_t nargs,
PyObject *kwnames, PyObject *kwnames,
struct _PyArg_Parser *, struct _PyArg_Parser *,

View File

@ -1979,7 +1979,7 @@ PyAPI_FUNC(PyObject*) PyUnicode_Join(
#ifndef Py_LIMITED_API #ifndef Py_LIMITED_API
PyAPI_FUNC(PyObject *) _PyUnicode_JoinArray( PyAPI_FUNC(PyObject *) _PyUnicode_JoinArray(
PyObject *separator, PyObject *separator,
PyObject **items, PyObject *const *items,
Py_ssize_t seqlen Py_ssize_t seqlen
); );
#endif /* Py_LIMITED_API */ #endif /* Py_LIMITED_API */

View File

@ -912,7 +912,7 @@ done:
} }
static PyObject * static PyObject *
deque_rotate(dequeobject *deque, PyObject **args, Py_ssize_t nargs) deque_rotate(dequeobject *deque, PyObject *const *args, Py_ssize_t nargs)
{ {
Py_ssize_t n=1; Py_ssize_t n=1;
@ -1045,7 +1045,7 @@ deque_len(dequeobject *deque)
} }
static PyObject * static PyObject *
deque_index(dequeobject *deque, PyObject **args, Py_ssize_t nargs) deque_index(dequeobject *deque, PyObject *const *args, Py_ssize_t nargs)
{ {
Py_ssize_t i, n, start=0, stop=Py_SIZE(deque); Py_ssize_t i, n, start=0, stop=Py_SIZE(deque);
PyObject *v, *item; PyObject *v, *item;
@ -1122,7 +1122,7 @@ PyDoc_STRVAR(index_doc,
*/ */
static PyObject * static PyObject *
deque_insert(dequeobject *deque, PyObject **args, Py_ssize_t nargs) deque_insert(dequeobject *deque, PyObject *const *args, Py_ssize_t nargs)
{ {
Py_ssize_t index; Py_ssize_t index;
Py_ssize_t n = Py_SIZE(deque); Py_ssize_t n = Py_SIZE(deque);

View File

@ -2771,7 +2771,7 @@ typedef struct {
} XMLParserObject; } XMLParserObject;
static PyObject* static PyObject*
_elementtree_XMLParser_doctype(XMLParserObject *self, PyObject **args, Py_ssize_t nargs); _elementtree_XMLParser_doctype(XMLParserObject *self, PyObject *const *args, Py_ssize_t nargs);
static PyObject * static PyObject *
_elementtree_XMLParser_doctype_impl(XMLParserObject *self, PyObject *name, _elementtree_XMLParser_doctype_impl(XMLParserObject *self, PyObject *name,
PyObject *pubid, PyObject *system); PyObject *pubid, PyObject *system);

View File

@ -915,7 +915,7 @@ generate_hash_name_list(void)
*/ */
#define GEN_CONSTRUCTOR(NAME) \ #define GEN_CONSTRUCTOR(NAME) \
static PyObject * \ static PyObject * \
EVP_new_ ## NAME (PyObject *self, PyObject **args, Py_ssize_t nargs) \ EVP_new_ ## NAME (PyObject *self, PyObject *const *args, Py_ssize_t nargs) \
{ \ { \
PyObject *data_obj = NULL; \ PyObject *data_obj = NULL; \
Py_buffer view = { 0 }; \ Py_buffer view = { 0 }; \

View File

@ -135,7 +135,7 @@ _io_open_impl(PyObject *module, PyObject *file, const char *mode,
const char *newline, int closefd, PyObject *opener); const char *newline, int closefd, PyObject *opener);
static PyObject * static PyObject *
_io_open(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) _io_open(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"file", "mode", "buffering", "encoding", "errors", "newline", "closefd", "opener", NULL}; static const char * const _keywords[] = {"file", "mode", "buffering", "encoding", "errors", "newline", "closefd", "opener", NULL};
@ -158,4 +158,4 @@ _io_open(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames)
exit: exit:
return return_value; return return_value;
} }
/*[clinic end generated code: output=7e0ab289d8465580 input=a9049054013a1b77]*/ /*[clinic end generated code: output=a9de1ae79c960e81 input=a9049054013a1b77]*/

View File

@ -97,7 +97,7 @@ static PyObject *
_io__Buffered_peek_impl(buffered *self, Py_ssize_t size); _io__Buffered_peek_impl(buffered *self, Py_ssize_t size);
static PyObject * static PyObject *
_io__Buffered_peek(buffered *self, PyObject **args, Py_ssize_t nargs) _io__Buffered_peek(buffered *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_ssize_t size = 0; Py_ssize_t size = 0;
@ -124,7 +124,7 @@ static PyObject *
_io__Buffered_read_impl(buffered *self, Py_ssize_t n); _io__Buffered_read_impl(buffered *self, Py_ssize_t n);
static PyObject * static PyObject *
_io__Buffered_read(buffered *self, PyObject **args, Py_ssize_t nargs) _io__Buffered_read(buffered *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_ssize_t n = -1; Py_ssize_t n = -1;
@ -151,7 +151,7 @@ static PyObject *
_io__Buffered_read1_impl(buffered *self, Py_ssize_t n); _io__Buffered_read1_impl(buffered *self, Py_ssize_t n);
static PyObject * static PyObject *
_io__Buffered_read1(buffered *self, PyObject **args, Py_ssize_t nargs) _io__Buffered_read1(buffered *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_ssize_t n = -1; Py_ssize_t n = -1;
@ -240,7 +240,7 @@ static PyObject *
_io__Buffered_readline_impl(buffered *self, Py_ssize_t size); _io__Buffered_readline_impl(buffered *self, Py_ssize_t size);
static PyObject * static PyObject *
_io__Buffered_readline(buffered *self, PyObject **args, Py_ssize_t nargs) _io__Buffered_readline(buffered *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_ssize_t size = -1; Py_ssize_t size = -1;
@ -267,7 +267,7 @@ static PyObject *
_io__Buffered_seek_impl(buffered *self, PyObject *targetobj, int whence); _io__Buffered_seek_impl(buffered *self, PyObject *targetobj, int whence);
static PyObject * static PyObject *
_io__Buffered_seek(buffered *self, PyObject **args, Py_ssize_t nargs) _io__Buffered_seek(buffered *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *targetobj; PyObject *targetobj;
@ -295,7 +295,7 @@ static PyObject *
_io__Buffered_truncate_impl(buffered *self, PyObject *pos); _io__Buffered_truncate_impl(buffered *self, PyObject *pos);
static PyObject * static PyObject *
_io__Buffered_truncate(buffered *self, PyObject **args, Py_ssize_t nargs) _io__Buffered_truncate(buffered *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *pos = Py_None; PyObject *pos = Py_None;
@ -476,4 +476,4 @@ _io_BufferedRandom___init__(PyObject *self, PyObject *args, PyObject *kwargs)
exit: exit:
return return_value; return return_value;
} }
/*[clinic end generated code: output=2b817df0bf814ddc input=a9049054013a1b77]*/ /*[clinic end generated code: output=9a20dd4eaabb5d58 input=a9049054013a1b77]*/

View File

@ -164,7 +164,7 @@ static PyObject *
_io_BytesIO_read_impl(bytesio *self, Py_ssize_t size); _io_BytesIO_read_impl(bytesio *self, Py_ssize_t size);
static PyObject * static PyObject *
_io_BytesIO_read(bytesio *self, PyObject **args, Py_ssize_t nargs) _io_BytesIO_read(bytesio *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_ssize_t size = -1; Py_ssize_t size = -1;
@ -195,7 +195,7 @@ static PyObject *
_io_BytesIO_read1_impl(bytesio *self, Py_ssize_t size); _io_BytesIO_read1_impl(bytesio *self, Py_ssize_t size);
static PyObject * static PyObject *
_io_BytesIO_read1(bytesio *self, PyObject **args, Py_ssize_t nargs) _io_BytesIO_read1(bytesio *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_ssize_t size = -1; Py_ssize_t size = -1;
@ -227,7 +227,7 @@ static PyObject *
_io_BytesIO_readline_impl(bytesio *self, Py_ssize_t size); _io_BytesIO_readline_impl(bytesio *self, Py_ssize_t size);
static PyObject * static PyObject *
_io_BytesIO_readline(bytesio *self, PyObject **args, Py_ssize_t nargs) _io_BytesIO_readline(bytesio *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_ssize_t size = -1; Py_ssize_t size = -1;
@ -259,7 +259,7 @@ static PyObject *
_io_BytesIO_readlines_impl(bytesio *self, PyObject *arg); _io_BytesIO_readlines_impl(bytesio *self, PyObject *arg);
static PyObject * static PyObject *
_io_BytesIO_readlines(bytesio *self, PyObject **args, Py_ssize_t nargs) _io_BytesIO_readlines(bytesio *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *arg = Py_None; PyObject *arg = Py_None;
@ -326,7 +326,7 @@ static PyObject *
_io_BytesIO_truncate_impl(bytesio *self, Py_ssize_t size); _io_BytesIO_truncate_impl(bytesio *self, Py_ssize_t size);
static PyObject * static PyObject *
_io_BytesIO_truncate(bytesio *self, PyObject **args, Py_ssize_t nargs) _io_BytesIO_truncate(bytesio *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_ssize_t size = self->pos; Py_ssize_t size = self->pos;
@ -360,7 +360,7 @@ static PyObject *
_io_BytesIO_seek_impl(bytesio *self, Py_ssize_t pos, int whence); _io_BytesIO_seek_impl(bytesio *self, Py_ssize_t pos, int whence);
static PyObject * static PyObject *
_io_BytesIO_seek(bytesio *self, PyObject **args, Py_ssize_t nargs) _io_BytesIO_seek(bytesio *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_ssize_t pos; Py_ssize_t pos;
@ -444,4 +444,4 @@ _io_BytesIO___init__(PyObject *self, PyObject *args, PyObject *kwargs)
exit: exit:
return return_value; return return_value;
} }
/*[clinic end generated code: output=20946f5a2ed4492b input=a9049054013a1b77]*/ /*[clinic end generated code: output=9ba9a68c8c5669e7 input=a9049054013a1b77]*/

View File

@ -208,7 +208,7 @@ static PyObject *
_io_FileIO_read_impl(fileio *self, Py_ssize_t size); _io_FileIO_read_impl(fileio *self, Py_ssize_t size);
static PyObject * static PyObject *
_io_FileIO_read(fileio *self, PyObject **args, Py_ssize_t nargs) _io_FileIO_read(fileio *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_ssize_t size = -1; Py_ssize_t size = -1;
@ -280,7 +280,7 @@ static PyObject *
_io_FileIO_seek_impl(fileio *self, PyObject *pos, int whence); _io_FileIO_seek_impl(fileio *self, PyObject *pos, int whence);
static PyObject * static PyObject *
_io_FileIO_seek(fileio *self, PyObject **args, Py_ssize_t nargs) _io_FileIO_seek(fileio *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *pos; PyObject *pos;
@ -334,7 +334,7 @@ static PyObject *
_io_FileIO_truncate_impl(fileio *self, PyObject *posobj); _io_FileIO_truncate_impl(fileio *self, PyObject *posobj);
static PyObject * static PyObject *
_io_FileIO_truncate(fileio *self, PyObject **args, Py_ssize_t nargs) _io_FileIO_truncate(fileio *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *posobj = NULL; PyObject *posobj = NULL;
@ -373,4 +373,4 @@ _io_FileIO_isatty(fileio *self, PyObject *Py_UNUSED(ignored))
#ifndef _IO_FILEIO_TRUNCATE_METHODDEF #ifndef _IO_FILEIO_TRUNCATE_METHODDEF
#define _IO_FILEIO_TRUNCATE_METHODDEF #define _IO_FILEIO_TRUNCATE_METHODDEF
#endif /* !defined(_IO_FILEIO_TRUNCATE_METHODDEF) */ #endif /* !defined(_IO_FILEIO_TRUNCATE_METHODDEF) */
/*[clinic end generated code: output=1af8b4031633b763 input=a9049054013a1b77]*/ /*[clinic end generated code: output=a8796438c8b7c49a input=a9049054013a1b77]*/

View File

@ -180,7 +180,7 @@ static PyObject *
_io__IOBase_readline_impl(PyObject *self, Py_ssize_t limit); _io__IOBase_readline_impl(PyObject *self, Py_ssize_t limit);
static PyObject * static PyObject *
_io__IOBase_readline(PyObject *self, PyObject **args, Py_ssize_t nargs) _io__IOBase_readline(PyObject *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_ssize_t limit = -1; Py_ssize_t limit = -1;
@ -212,7 +212,7 @@ static PyObject *
_io__IOBase_readlines_impl(PyObject *self, Py_ssize_t hint); _io__IOBase_readlines_impl(PyObject *self, Py_ssize_t hint);
static PyObject * static PyObject *
_io__IOBase_readlines(PyObject *self, PyObject **args, Py_ssize_t nargs) _io__IOBase_readlines(PyObject *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_ssize_t hint = -1; Py_ssize_t hint = -1;
@ -247,7 +247,7 @@ static PyObject *
_io__RawIOBase_read_impl(PyObject *self, Py_ssize_t n); _io__RawIOBase_read_impl(PyObject *self, Py_ssize_t n);
static PyObject * static PyObject *
_io__RawIOBase_read(PyObject *self, PyObject **args, Py_ssize_t nargs) _io__RawIOBase_read(PyObject *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_ssize_t n = -1; Py_ssize_t n = -1;
@ -279,4 +279,4 @@ _io__RawIOBase_readall(PyObject *self, PyObject *Py_UNUSED(ignored))
{ {
return _io__RawIOBase_readall_impl(self); return _io__RawIOBase_readall_impl(self);
} }
/*[clinic end generated code: output=1dc5cc1a9977d73f input=a9049054013a1b77]*/ /*[clinic end generated code: output=64989ec3dbf44a7c input=a9049054013a1b77]*/

View File

@ -54,7 +54,7 @@ static PyObject *
_io_StringIO_read_impl(stringio *self, Py_ssize_t size); _io_StringIO_read_impl(stringio *self, Py_ssize_t size);
static PyObject * static PyObject *
_io_StringIO_read(stringio *self, PyObject **args, Py_ssize_t nargs) _io_StringIO_read(stringio *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_ssize_t size = -1; Py_ssize_t size = -1;
@ -84,7 +84,7 @@ static PyObject *
_io_StringIO_readline_impl(stringio *self, Py_ssize_t size); _io_StringIO_readline_impl(stringio *self, Py_ssize_t size);
static PyObject * static PyObject *
_io_StringIO_readline(stringio *self, PyObject **args, Py_ssize_t nargs) _io_StringIO_readline(stringio *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_ssize_t size = -1; Py_ssize_t size = -1;
@ -116,7 +116,7 @@ static PyObject *
_io_StringIO_truncate_impl(stringio *self, Py_ssize_t size); _io_StringIO_truncate_impl(stringio *self, Py_ssize_t size);
static PyObject * static PyObject *
_io_StringIO_truncate(stringio *self, PyObject **args, Py_ssize_t nargs) _io_StringIO_truncate(stringio *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_ssize_t size = self->pos; Py_ssize_t size = self->pos;
@ -150,7 +150,7 @@ static PyObject *
_io_StringIO_seek_impl(stringio *self, Py_ssize_t pos, int whence); _io_StringIO_seek_impl(stringio *self, Py_ssize_t pos, int whence);
static PyObject * static PyObject *
_io_StringIO_seek(stringio *self, PyObject **args, Py_ssize_t nargs) _io_StringIO_seek(stringio *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_ssize_t pos; Py_ssize_t pos;
@ -286,4 +286,4 @@ _io_StringIO_seekable(stringio *self, PyObject *Py_UNUSED(ignored))
{ {
return _io_StringIO_seekable_impl(self); return _io_StringIO_seekable_impl(self);
} }
/*[clinic end generated code: output=a5e963d90b4eedc0 input=a9049054013a1b77]*/ /*[clinic end generated code: output=73c4d6e5cc3b1a58 input=a9049054013a1b77]*/

View File

@ -53,7 +53,7 @@ _io_IncrementalNewlineDecoder_decode_impl(nldecoder_object *self,
PyObject *input, int final); PyObject *input, int final);
static PyObject * static PyObject *
_io_IncrementalNewlineDecoder_decode(nldecoder_object *self, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) _io_IncrementalNewlineDecoder_decode(nldecoder_object *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"input", "final", NULL}; static const char * const _keywords[] = {"input", "final", NULL};
@ -193,7 +193,7 @@ _io_TextIOWrapper_reconfigure_impl(textio *self,
PyObject *write_through_obj); PyObject *write_through_obj);
static PyObject * static PyObject *
_io_TextIOWrapper_reconfigure(textio *self, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) _io_TextIOWrapper_reconfigure(textio *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"line_buffering", "write_through", NULL}; static const char * const _keywords[] = {"line_buffering", "write_through", NULL};
@ -266,7 +266,7 @@ static PyObject *
_io_TextIOWrapper_read_impl(textio *self, Py_ssize_t n); _io_TextIOWrapper_read_impl(textio *self, Py_ssize_t n);
static PyObject * static PyObject *
_io_TextIOWrapper_read(textio *self, PyObject **args, Py_ssize_t nargs) _io_TextIOWrapper_read(textio *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_ssize_t n = -1; Py_ssize_t n = -1;
@ -293,7 +293,7 @@ static PyObject *
_io_TextIOWrapper_readline_impl(textio *self, Py_ssize_t size); _io_TextIOWrapper_readline_impl(textio *self, Py_ssize_t size);
static PyObject * static PyObject *
_io_TextIOWrapper_readline(textio *self, PyObject **args, Py_ssize_t nargs) _io_TextIOWrapper_readline(textio *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_ssize_t size = -1; Py_ssize_t size = -1;
@ -320,7 +320,7 @@ static PyObject *
_io_TextIOWrapper_seek_impl(textio *self, PyObject *cookieObj, int whence); _io_TextIOWrapper_seek_impl(textio *self, PyObject *cookieObj, int whence);
static PyObject * static PyObject *
_io_TextIOWrapper_seek(textio *self, PyObject **args, Py_ssize_t nargs) _io_TextIOWrapper_seek(textio *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *cookieObj; PyObject *cookieObj;
@ -365,7 +365,7 @@ static PyObject *
_io_TextIOWrapper_truncate_impl(textio *self, PyObject *pos); _io_TextIOWrapper_truncate_impl(textio *self, PyObject *pos);
static PyObject * static PyObject *
_io_TextIOWrapper_truncate(textio *self, PyObject **args, Py_ssize_t nargs) _io_TextIOWrapper_truncate(textio *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *pos = Py_None; PyObject *pos = Py_None;
@ -499,4 +499,4 @@ _io_TextIOWrapper_close(textio *self, PyObject *Py_UNUSED(ignored))
{ {
return _io_TextIOWrapper_close_impl(self); return _io_TextIOWrapper_close_impl(self);
} }
/*[clinic end generated code: output=937989df0a8abfc3 input=a9049054013a1b77]*/ /*[clinic end generated code: output=679b3ac5284df4e0 input=a9049054013a1b77]*/

View File

@ -215,7 +215,7 @@ static PyObject *
_io__WindowsConsoleIO_read_impl(winconsoleio *self, Py_ssize_t size); _io__WindowsConsoleIO_read_impl(winconsoleio *self, Py_ssize_t size);
static PyObject * static PyObject *
_io__WindowsConsoleIO_read(winconsoleio *self, PyObject **args, Py_ssize_t nargs) _io__WindowsConsoleIO_read(winconsoleio *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_ssize_t size = -1; Py_ssize_t size = -1;
@ -328,4 +328,4 @@ _io__WindowsConsoleIO_isatty(winconsoleio *self, PyObject *Py_UNUSED(ignored))
#ifndef _IO__WINDOWSCONSOLEIO_ISATTY_METHODDEF #ifndef _IO__WINDOWSCONSOLEIO_ISATTY_METHODDEF
#define _IO__WINDOWSCONSOLEIO_ISATTY_METHODDEF #define _IO__WINDOWSCONSOLEIO_ISATTY_METHODDEF
#endif /* !defined(_IO__WINDOWSCONSOLEIO_ISATTY_METHODDEF) */ #endif /* !defined(_IO__WINDOWSCONSOLEIO_ISATTY_METHODDEF) */
/*[clinic end generated code: output=7f74992fcd5bd89d input=a9049054013a1b77]*/ /*[clinic end generated code: output=6d351a8200a8e848 input=a9049054013a1b77]*/

View File

@ -105,7 +105,7 @@ static PyObject *
_sha3_shake_128_digest_impl(SHA3object *self, unsigned long length); _sha3_shake_128_digest_impl(SHA3object *self, unsigned long length);
static PyObject * static PyObject *
_sha3_shake_128_digest(SHA3object *self, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) _sha3_shake_128_digest(SHA3object *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"length", NULL}; static const char * const _keywords[] = {"length", NULL};
@ -135,7 +135,7 @@ static PyObject *
_sha3_shake_128_hexdigest_impl(SHA3object *self, unsigned long length); _sha3_shake_128_hexdigest_impl(SHA3object *self, unsigned long length);
static PyObject * static PyObject *
_sha3_shake_128_hexdigest(SHA3object *self, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) _sha3_shake_128_hexdigest(SHA3object *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"length", NULL}; static const char * const _keywords[] = {"length", NULL};
@ -151,4 +151,4 @@ _sha3_shake_128_hexdigest(SHA3object *self, PyObject **args, Py_ssize_t nargs, P
exit: exit:
return return_value; return return_value;
} }
/*[clinic end generated code: output=7c1ac102411764f2 input=a9049054013a1b77]*/ /*[clinic end generated code: output=a3aeb6c3b2fbd905 input=a9049054013a1b77]*/

View File

@ -1733,7 +1733,7 @@ Struct_iter_unpack(PyStructObject *self, PyObject *buffer)
* *
*/ */
static int static int
s_pack_internal(PyStructObject *soself, PyObject **args, int offset, char* buf) s_pack_internal(PyStructObject *soself, PyObject *const *args, int offset, char* buf)
{ {
formatcode *code; formatcode *code;
/* XXX(nnorwitz): why does i need to be a local? can we use /* XXX(nnorwitz): why does i need to be a local? can we use
@ -1820,7 +1820,7 @@ to the format string S.format. See help(struct) for more on format\n\
strings."); strings.");
static PyObject * static PyObject *
s_pack(PyObject *self, PyObject **args, Py_ssize_t nargs) s_pack(PyObject *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyStructObject *soself; PyStructObject *soself;
PyObject *result; PyObject *result;
@ -1859,7 +1859,7 @@ offset. Note that the offset is a required argument. See\n\
help(struct) for more on format strings."); help(struct) for more on format strings.");
static PyObject * static PyObject *
s_pack_into(PyObject *self, PyObject **args, Py_ssize_t nargs) s_pack_into(PyObject *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyStructObject *soself; PyStructObject *soself;
Py_buffer buffer; Py_buffer buffer;
@ -2123,7 +2123,7 @@ Return a bytes object containing the values v1, v2, ... packed according\n\
to the format string. See help(struct) for more on format strings."); to the format string. See help(struct) for more on format strings.");
static PyObject * static PyObject *
pack(PyObject *self, PyObject **args, Py_ssize_t nargs) pack(PyObject *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *s_object = NULL; PyObject *s_object = NULL;
PyObject *format, *result; PyObject *format, *result;
@ -2151,7 +2151,7 @@ that the offset is a required argument. See help(struct) for more\n\
on format strings."); on format strings.");
static PyObject * static PyObject *
pack_into(PyObject *self, PyObject **args, Py_ssize_t nargs) pack_into(PyObject *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *s_object = NULL; PyObject *s_object = NULL;
PyObject *format, *result; PyObject *format, *result;

View File

@ -22,7 +22,7 @@ _multibytecodec_MultibyteCodec_encode_impl(MultibyteCodecObject *self,
const char *errors); const char *errors);
static PyObject * static PyObject *
_multibytecodec_MultibyteCodec_encode(MultibyteCodecObject *self, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) _multibytecodec_MultibyteCodec_encode(MultibyteCodecObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"input", "errors", NULL}; static const char * const _keywords[] = {"input", "errors", NULL};
@ -60,7 +60,7 @@ _multibytecodec_MultibyteCodec_decode_impl(MultibyteCodecObject *self,
const char *errors); const char *errors);
static PyObject * static PyObject *
_multibytecodec_MultibyteCodec_decode(MultibyteCodecObject *self, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) _multibytecodec_MultibyteCodec_decode(MultibyteCodecObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"input", "errors", NULL}; static const char * const _keywords[] = {"input", "errors", NULL};
@ -97,7 +97,7 @@ _multibytecodec_MultibyteIncrementalEncoder_encode_impl(MultibyteIncrementalEnco
int final); int final);
static PyObject * static PyObject *
_multibytecodec_MultibyteIncrementalEncoder_encode(MultibyteIncrementalEncoderObject *self, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) _multibytecodec_MultibyteIncrementalEncoder_encode(MultibyteIncrementalEncoderObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"input", "final", NULL}; static const char * const _keywords[] = {"input", "final", NULL};
@ -146,7 +146,7 @@ _multibytecodec_MultibyteIncrementalDecoder_decode_impl(MultibyteIncrementalDeco
int final); int final);
static PyObject * static PyObject *
_multibytecodec_MultibyteIncrementalDecoder_decode(MultibyteIncrementalDecoderObject *self, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) _multibytecodec_MultibyteIncrementalDecoder_decode(MultibyteIncrementalDecoderObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"input", "final", NULL}; static const char * const _keywords[] = {"input", "final", NULL};
@ -199,7 +199,7 @@ _multibytecodec_MultibyteStreamReader_read_impl(MultibyteStreamReaderObject *sel
PyObject *sizeobj); PyObject *sizeobj);
static PyObject * static PyObject *
_multibytecodec_MultibyteStreamReader_read(MultibyteStreamReaderObject *self, PyObject **args, Py_ssize_t nargs) _multibytecodec_MultibyteStreamReader_read(MultibyteStreamReaderObject *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *sizeobj = Py_None; PyObject *sizeobj = Py_None;
@ -228,7 +228,7 @@ _multibytecodec_MultibyteStreamReader_readline_impl(MultibyteStreamReaderObject
PyObject *sizeobj); PyObject *sizeobj);
static PyObject * static PyObject *
_multibytecodec_MultibyteStreamReader_readline(MultibyteStreamReaderObject *self, PyObject **args, Py_ssize_t nargs) _multibytecodec_MultibyteStreamReader_readline(MultibyteStreamReaderObject *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *sizeobj = Py_None; PyObject *sizeobj = Py_None;
@ -257,7 +257,7 @@ _multibytecodec_MultibyteStreamReader_readlines_impl(MultibyteStreamReaderObject
PyObject *sizehintobj); PyObject *sizehintobj);
static PyObject * static PyObject *
_multibytecodec_MultibyteStreamReader_readlines(MultibyteStreamReaderObject *self, PyObject **args, Py_ssize_t nargs) _multibytecodec_MultibyteStreamReader_readlines(MultibyteStreamReaderObject *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *sizehintobj = Py_None; PyObject *sizehintobj = Py_None;
@ -330,4 +330,4 @@ PyDoc_STRVAR(_multibytecodec___create_codec__doc__,
#define _MULTIBYTECODEC___CREATE_CODEC_METHODDEF \ #define _MULTIBYTECODEC___CREATE_CODEC_METHODDEF \
{"__create_codec", (PyCFunction)_multibytecodec___create_codec, METH_O, _multibytecodec___create_codec__doc__}, {"__create_codec", (PyCFunction)_multibytecodec___create_codec, METH_O, _multibytecodec___create_codec__doc__},
/*[clinic end generated code: output=dc2352619de9d74f input=a9049054013a1b77]*/ /*[clinic end generated code: output=680f59f4cfe63c25 input=a9049054013a1b77]*/

View File

@ -273,7 +273,7 @@ static PyObject *
_asyncio_Task_current_task_impl(PyTypeObject *type, PyObject *loop); _asyncio_Task_current_task_impl(PyTypeObject *type, PyObject *loop);
static PyObject * static PyObject *
_asyncio_Task_current_task(PyTypeObject *type, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) _asyncio_Task_current_task(PyTypeObject *type, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"loop", NULL}; static const char * const _keywords[] = {"loop", NULL};
@ -305,7 +305,7 @@ static PyObject *
_asyncio_Task_all_tasks_impl(PyTypeObject *type, PyObject *loop); _asyncio_Task_all_tasks_impl(PyTypeObject *type, PyObject *loop);
static PyObject * static PyObject *
_asyncio_Task_all_tasks(PyTypeObject *type, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) _asyncio_Task_all_tasks(PyTypeObject *type, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"loop", NULL}; static const char * const _keywords[] = {"loop", NULL};
@ -405,7 +405,7 @@ static PyObject *
_asyncio_Task_get_stack_impl(TaskObj *self, PyObject *limit); _asyncio_Task_get_stack_impl(TaskObj *self, PyObject *limit);
static PyObject * static PyObject *
_asyncio_Task_get_stack(TaskObj *self, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) _asyncio_Task_get_stack(TaskObj *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"limit", NULL}; static const char * const _keywords[] = {"limit", NULL};
@ -442,7 +442,7 @@ _asyncio_Task_print_stack_impl(TaskObj *self, PyObject *limit,
PyObject *file); PyObject *file);
static PyObject * static PyObject *
_asyncio_Task_print_stack(TaskObj *self, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) _asyncio_Task_print_stack(TaskObj *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"limit", "file", NULL}; static const char * const _keywords[] = {"limit", "file", NULL};
@ -472,7 +472,7 @@ static PyObject *
_asyncio_Task__step_impl(TaskObj *self, PyObject *exc); _asyncio_Task__step_impl(TaskObj *self, PyObject *exc);
static PyObject * static PyObject *
_asyncio_Task__step(TaskObj *self, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) _asyncio_Task__step(TaskObj *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"exc", NULL}; static const char * const _keywords[] = {"exc", NULL};
@ -501,7 +501,7 @@ static PyObject *
_asyncio_Task__wakeup_impl(TaskObj *self, PyObject *fut); _asyncio_Task__wakeup_impl(TaskObj *self, PyObject *fut);
static PyObject * static PyObject *
_asyncio_Task__wakeup(TaskObj *self, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) _asyncio_Task__wakeup(TaskObj *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"fut", NULL}; static const char * const _keywords[] = {"fut", NULL};
@ -595,4 +595,4 @@ _asyncio_get_running_loop(PyObject *module, PyObject *Py_UNUSED(ignored))
{ {
return _asyncio_get_running_loop_impl(module); return _asyncio_get_running_loop_impl(module);
} }
/*[clinic end generated code: output=d40b94e629571d48 input=a9049054013a1b77]*/ /*[clinic end generated code: output=21e5424c3a5572b0 input=a9049054013a1b77]*/

View File

@ -122,7 +122,7 @@ _bz2_BZ2Decompressor_decompress_impl(BZ2Decompressor *self, Py_buffer *data,
Py_ssize_t max_length); Py_ssize_t max_length);
static PyObject * static PyObject *
_bz2_BZ2Decompressor_decompress(BZ2Decompressor *self, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) _bz2_BZ2Decompressor_decompress(BZ2Decompressor *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"data", "max_length", NULL}; static const char * const _keywords[] = {"data", "max_length", NULL};
@ -174,4 +174,4 @@ _bz2_BZ2Decompressor___init__(PyObject *self, PyObject *args, PyObject *kwargs)
exit: exit:
return return_value; return return_value;
} }
/*[clinic end generated code: output=835673574cf12cc4 input=a9049054013a1b77]*/ /*[clinic end generated code: output=564a0313177fff63 input=a9049054013a1b77]*/

View File

@ -62,7 +62,7 @@ _codecs_encode_impl(PyObject *module, PyObject *obj, const char *encoding,
const char *errors); const char *errors);
static PyObject * static PyObject *
_codecs_encode(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) _codecs_encode(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"obj", "encoding", "errors", NULL}; static const char * const _keywords[] = {"obj", "encoding", "errors", NULL};
@ -101,7 +101,7 @@ _codecs_decode_impl(PyObject *module, PyObject *obj, const char *encoding,
const char *errors); const char *errors);
static PyObject * static PyObject *
_codecs_decode(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) _codecs_decode(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"obj", "encoding", "errors", NULL}; static const char * const _keywords[] = {"obj", "encoding", "errors", NULL};
@ -160,7 +160,7 @@ _codecs_escape_decode_impl(PyObject *module, Py_buffer *data,
const char *errors); const char *errors);
static PyObject * static PyObject *
_codecs_escape_decode(PyObject *module, PyObject **args, Py_ssize_t nargs) _codecs_escape_decode(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_buffer data = {NULL, NULL}; Py_buffer data = {NULL, NULL};
@ -194,7 +194,7 @@ _codecs_escape_encode_impl(PyObject *module, PyObject *data,
const char *errors); const char *errors);
static PyObject * static PyObject *
_codecs_escape_encode(PyObject *module, PyObject **args, Py_ssize_t nargs) _codecs_escape_encode(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *data; PyObject *data;
@ -223,7 +223,7 @@ _codecs_unicode_internal_decode_impl(PyObject *module, PyObject *obj,
const char *errors); const char *errors);
static PyObject * static PyObject *
_codecs_unicode_internal_decode(PyObject *module, PyObject **args, Py_ssize_t nargs) _codecs_unicode_internal_decode(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *obj; PyObject *obj;
@ -252,7 +252,7 @@ _codecs_utf_7_decode_impl(PyObject *module, Py_buffer *data,
const char *errors, int final); const char *errors, int final);
static PyObject * static PyObject *
_codecs_utf_7_decode(PyObject *module, PyObject **args, Py_ssize_t nargs) _codecs_utf_7_decode(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_buffer data = {NULL, NULL}; Py_buffer data = {NULL, NULL};
@ -287,7 +287,7 @@ _codecs_utf_8_decode_impl(PyObject *module, Py_buffer *data,
const char *errors, int final); const char *errors, int final);
static PyObject * static PyObject *
_codecs_utf_8_decode(PyObject *module, PyObject **args, Py_ssize_t nargs) _codecs_utf_8_decode(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_buffer data = {NULL, NULL}; Py_buffer data = {NULL, NULL};
@ -322,7 +322,7 @@ _codecs_utf_16_decode_impl(PyObject *module, Py_buffer *data,
const char *errors, int final); const char *errors, int final);
static PyObject * static PyObject *
_codecs_utf_16_decode(PyObject *module, PyObject **args, Py_ssize_t nargs) _codecs_utf_16_decode(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_buffer data = {NULL, NULL}; Py_buffer data = {NULL, NULL};
@ -357,7 +357,7 @@ _codecs_utf_16_le_decode_impl(PyObject *module, Py_buffer *data,
const char *errors, int final); const char *errors, int final);
static PyObject * static PyObject *
_codecs_utf_16_le_decode(PyObject *module, PyObject **args, Py_ssize_t nargs) _codecs_utf_16_le_decode(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_buffer data = {NULL, NULL}; Py_buffer data = {NULL, NULL};
@ -392,7 +392,7 @@ _codecs_utf_16_be_decode_impl(PyObject *module, Py_buffer *data,
const char *errors, int final); const char *errors, int final);
static PyObject * static PyObject *
_codecs_utf_16_be_decode(PyObject *module, PyObject **args, Py_ssize_t nargs) _codecs_utf_16_be_decode(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_buffer data = {NULL, NULL}; Py_buffer data = {NULL, NULL};
@ -428,7 +428,7 @@ _codecs_utf_16_ex_decode_impl(PyObject *module, Py_buffer *data,
const char *errors, int byteorder, int final); const char *errors, int byteorder, int final);
static PyObject * static PyObject *
_codecs_utf_16_ex_decode(PyObject *module, PyObject **args, Py_ssize_t nargs) _codecs_utf_16_ex_decode(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_buffer data = {NULL, NULL}; Py_buffer data = {NULL, NULL};
@ -464,7 +464,7 @@ _codecs_utf_32_decode_impl(PyObject *module, Py_buffer *data,
const char *errors, int final); const char *errors, int final);
static PyObject * static PyObject *
_codecs_utf_32_decode(PyObject *module, PyObject **args, Py_ssize_t nargs) _codecs_utf_32_decode(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_buffer data = {NULL, NULL}; Py_buffer data = {NULL, NULL};
@ -499,7 +499,7 @@ _codecs_utf_32_le_decode_impl(PyObject *module, Py_buffer *data,
const char *errors, int final); const char *errors, int final);
static PyObject * static PyObject *
_codecs_utf_32_le_decode(PyObject *module, PyObject **args, Py_ssize_t nargs) _codecs_utf_32_le_decode(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_buffer data = {NULL, NULL}; Py_buffer data = {NULL, NULL};
@ -534,7 +534,7 @@ _codecs_utf_32_be_decode_impl(PyObject *module, Py_buffer *data,
const char *errors, int final); const char *errors, int final);
static PyObject * static PyObject *
_codecs_utf_32_be_decode(PyObject *module, PyObject **args, Py_ssize_t nargs) _codecs_utf_32_be_decode(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_buffer data = {NULL, NULL}; Py_buffer data = {NULL, NULL};
@ -570,7 +570,7 @@ _codecs_utf_32_ex_decode_impl(PyObject *module, Py_buffer *data,
const char *errors, int byteorder, int final); const char *errors, int byteorder, int final);
static PyObject * static PyObject *
_codecs_utf_32_ex_decode(PyObject *module, PyObject **args, Py_ssize_t nargs) _codecs_utf_32_ex_decode(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_buffer data = {NULL, NULL}; Py_buffer data = {NULL, NULL};
@ -606,7 +606,7 @@ _codecs_unicode_escape_decode_impl(PyObject *module, Py_buffer *data,
const char *errors); const char *errors);
static PyObject * static PyObject *
_codecs_unicode_escape_decode(PyObject *module, PyObject **args, Py_ssize_t nargs) _codecs_unicode_escape_decode(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_buffer data = {NULL, NULL}; Py_buffer data = {NULL, NULL};
@ -640,7 +640,7 @@ _codecs_raw_unicode_escape_decode_impl(PyObject *module, Py_buffer *data,
const char *errors); const char *errors);
static PyObject * static PyObject *
_codecs_raw_unicode_escape_decode(PyObject *module, PyObject **args, Py_ssize_t nargs) _codecs_raw_unicode_escape_decode(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_buffer data = {NULL, NULL}; Py_buffer data = {NULL, NULL};
@ -674,7 +674,7 @@ _codecs_latin_1_decode_impl(PyObject *module, Py_buffer *data,
const char *errors); const char *errors);
static PyObject * static PyObject *
_codecs_latin_1_decode(PyObject *module, PyObject **args, Py_ssize_t nargs) _codecs_latin_1_decode(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_buffer data = {NULL, NULL}; Py_buffer data = {NULL, NULL};
@ -708,7 +708,7 @@ _codecs_ascii_decode_impl(PyObject *module, Py_buffer *data,
const char *errors); const char *errors);
static PyObject * static PyObject *
_codecs_ascii_decode(PyObject *module, PyObject **args, Py_ssize_t nargs) _codecs_ascii_decode(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_buffer data = {NULL, NULL}; Py_buffer data = {NULL, NULL};
@ -742,7 +742,7 @@ _codecs_charmap_decode_impl(PyObject *module, Py_buffer *data,
const char *errors, PyObject *mapping); const char *errors, PyObject *mapping);
static PyObject * static PyObject *
_codecs_charmap_decode(PyObject *module, PyObject **args, Py_ssize_t nargs) _codecs_charmap_decode(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_buffer data = {NULL, NULL}; Py_buffer data = {NULL, NULL};
@ -779,7 +779,7 @@ _codecs_mbcs_decode_impl(PyObject *module, Py_buffer *data,
const char *errors, int final); const char *errors, int final);
static PyObject * static PyObject *
_codecs_mbcs_decode(PyObject *module, PyObject **args, Py_ssize_t nargs) _codecs_mbcs_decode(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_buffer data = {NULL, NULL}; Py_buffer data = {NULL, NULL};
@ -818,7 +818,7 @@ _codecs_oem_decode_impl(PyObject *module, Py_buffer *data,
const char *errors, int final); const char *errors, int final);
static PyObject * static PyObject *
_codecs_oem_decode(PyObject *module, PyObject **args, Py_ssize_t nargs) _codecs_oem_decode(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_buffer data = {NULL, NULL}; Py_buffer data = {NULL, NULL};
@ -857,7 +857,7 @@ _codecs_code_page_decode_impl(PyObject *module, int codepage,
Py_buffer *data, const char *errors, int final); Py_buffer *data, const char *errors, int final);
static PyObject * static PyObject *
_codecs_code_page_decode(PyObject *module, PyObject **args, Py_ssize_t nargs) _codecs_code_page_decode(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
int codepage; int codepage;
@ -895,7 +895,7 @@ _codecs_readbuffer_encode_impl(PyObject *module, Py_buffer *data,
const char *errors); const char *errors);
static PyObject * static PyObject *
_codecs_readbuffer_encode(PyObject *module, PyObject **args, Py_ssize_t nargs) _codecs_readbuffer_encode(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_buffer data = {NULL, NULL}; Py_buffer data = {NULL, NULL};
@ -929,7 +929,7 @@ _codecs_unicode_internal_encode_impl(PyObject *module, PyObject *obj,
const char *errors); const char *errors);
static PyObject * static PyObject *
_codecs_unicode_internal_encode(PyObject *module, PyObject **args, Py_ssize_t nargs) _codecs_unicode_internal_encode(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *obj; PyObject *obj;
@ -958,7 +958,7 @@ _codecs_utf_7_encode_impl(PyObject *module, PyObject *str,
const char *errors); const char *errors);
static PyObject * static PyObject *
_codecs_utf_7_encode(PyObject *module, PyObject **args, Py_ssize_t nargs) _codecs_utf_7_encode(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *str; PyObject *str;
@ -987,7 +987,7 @@ _codecs_utf_8_encode_impl(PyObject *module, PyObject *str,
const char *errors); const char *errors);
static PyObject * static PyObject *
_codecs_utf_8_encode(PyObject *module, PyObject **args, Py_ssize_t nargs) _codecs_utf_8_encode(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *str; PyObject *str;
@ -1016,7 +1016,7 @@ _codecs_utf_16_encode_impl(PyObject *module, PyObject *str,
const char *errors, int byteorder); const char *errors, int byteorder);
static PyObject * static PyObject *
_codecs_utf_16_encode(PyObject *module, PyObject **args, Py_ssize_t nargs) _codecs_utf_16_encode(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *str; PyObject *str;
@ -1046,7 +1046,7 @@ _codecs_utf_16_le_encode_impl(PyObject *module, PyObject *str,
const char *errors); const char *errors);
static PyObject * static PyObject *
_codecs_utf_16_le_encode(PyObject *module, PyObject **args, Py_ssize_t nargs) _codecs_utf_16_le_encode(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *str; PyObject *str;
@ -1075,7 +1075,7 @@ _codecs_utf_16_be_encode_impl(PyObject *module, PyObject *str,
const char *errors); const char *errors);
static PyObject * static PyObject *
_codecs_utf_16_be_encode(PyObject *module, PyObject **args, Py_ssize_t nargs) _codecs_utf_16_be_encode(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *str; PyObject *str;
@ -1104,7 +1104,7 @@ _codecs_utf_32_encode_impl(PyObject *module, PyObject *str,
const char *errors, int byteorder); const char *errors, int byteorder);
static PyObject * static PyObject *
_codecs_utf_32_encode(PyObject *module, PyObject **args, Py_ssize_t nargs) _codecs_utf_32_encode(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *str; PyObject *str;
@ -1134,7 +1134,7 @@ _codecs_utf_32_le_encode_impl(PyObject *module, PyObject *str,
const char *errors); const char *errors);
static PyObject * static PyObject *
_codecs_utf_32_le_encode(PyObject *module, PyObject **args, Py_ssize_t nargs) _codecs_utf_32_le_encode(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *str; PyObject *str;
@ -1163,7 +1163,7 @@ _codecs_utf_32_be_encode_impl(PyObject *module, PyObject *str,
const char *errors); const char *errors);
static PyObject * static PyObject *
_codecs_utf_32_be_encode(PyObject *module, PyObject **args, Py_ssize_t nargs) _codecs_utf_32_be_encode(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *str; PyObject *str;
@ -1192,7 +1192,7 @@ _codecs_unicode_escape_encode_impl(PyObject *module, PyObject *str,
const char *errors); const char *errors);
static PyObject * static PyObject *
_codecs_unicode_escape_encode(PyObject *module, PyObject **args, Py_ssize_t nargs) _codecs_unicode_escape_encode(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *str; PyObject *str;
@ -1221,7 +1221,7 @@ _codecs_raw_unicode_escape_encode_impl(PyObject *module, PyObject *str,
const char *errors); const char *errors);
static PyObject * static PyObject *
_codecs_raw_unicode_escape_encode(PyObject *module, PyObject **args, Py_ssize_t nargs) _codecs_raw_unicode_escape_encode(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *str; PyObject *str;
@ -1250,7 +1250,7 @@ _codecs_latin_1_encode_impl(PyObject *module, PyObject *str,
const char *errors); const char *errors);
static PyObject * static PyObject *
_codecs_latin_1_encode(PyObject *module, PyObject **args, Py_ssize_t nargs) _codecs_latin_1_encode(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *str; PyObject *str;
@ -1279,7 +1279,7 @@ _codecs_ascii_encode_impl(PyObject *module, PyObject *str,
const char *errors); const char *errors);
static PyObject * static PyObject *
_codecs_ascii_encode(PyObject *module, PyObject **args, Py_ssize_t nargs) _codecs_ascii_encode(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *str; PyObject *str;
@ -1308,7 +1308,7 @@ _codecs_charmap_encode_impl(PyObject *module, PyObject *str,
const char *errors, PyObject *mapping); const char *errors, PyObject *mapping);
static PyObject * static PyObject *
_codecs_charmap_encode(PyObject *module, PyObject **args, Py_ssize_t nargs) _codecs_charmap_encode(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *str; PyObject *str;
@ -1365,7 +1365,7 @@ static PyObject *
_codecs_mbcs_encode_impl(PyObject *module, PyObject *str, const char *errors); _codecs_mbcs_encode_impl(PyObject *module, PyObject *str, const char *errors);
static PyObject * static PyObject *
_codecs_mbcs_encode(PyObject *module, PyObject **args, Py_ssize_t nargs) _codecs_mbcs_encode(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *str; PyObject *str;
@ -1397,7 +1397,7 @@ static PyObject *
_codecs_oem_encode_impl(PyObject *module, PyObject *str, const char *errors); _codecs_oem_encode_impl(PyObject *module, PyObject *str, const char *errors);
static PyObject * static PyObject *
_codecs_oem_encode(PyObject *module, PyObject **args, Py_ssize_t nargs) _codecs_oem_encode(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *str; PyObject *str;
@ -1430,7 +1430,7 @@ _codecs_code_page_encode_impl(PyObject *module, int code_page, PyObject *str,
const char *errors); const char *errors);
static PyObject * static PyObject *
_codecs_code_page_encode(PyObject *module, PyObject **args, Py_ssize_t nargs) _codecs_code_page_encode(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
int code_page; int code_page;
@ -1467,7 +1467,7 @@ _codecs_register_error_impl(PyObject *module, const char *errors,
PyObject *handler); PyObject *handler);
static PyObject * static PyObject *
_codecs_register_error(PyObject *module, PyObject **args, Py_ssize_t nargs) _codecs_register_error(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
const char *errors; const char *errors;
@ -1536,4 +1536,4 @@ exit:
#ifndef _CODECS_CODE_PAGE_ENCODE_METHODDEF #ifndef _CODECS_CODE_PAGE_ENCODE_METHODDEF
#define _CODECS_CODE_PAGE_ENCODE_METHODDEF #define _CODECS_CODE_PAGE_ENCODE_METHODDEF
#endif /* !defined(_CODECS_CODE_PAGE_ENCODE_METHODDEF) */ #endif /* !defined(_CODECS_CODE_PAGE_ENCODE_METHODDEF) */
/*[clinic end generated code: output=894910ed4900eeae input=a9049054013a1b77]*/ /*[clinic end generated code: output=06fa0d6803103c62 input=a9049054013a1b77]*/

View File

@ -20,7 +20,7 @@ static PyObject *
crypt_crypt_impl(PyObject *module, const char *word, const char *salt); crypt_crypt_impl(PyObject *module, const char *word, const char *salt);
static PyObject * static PyObject *
crypt_crypt(PyObject *module, PyObject **args, Py_ssize_t nargs) crypt_crypt(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
const char *word; const char *word;
@ -35,4 +35,4 @@ crypt_crypt(PyObject *module, PyObject **args, Py_ssize_t nargs)
exit: exit:
return return_value; return return_value;
} }
/*[clinic end generated code: output=f5a6aff28d43154f input=a9049054013a1b77]*/ /*[clinic end generated code: output=8d803e53466b1cd3 input=a9049054013a1b77]*/

View File

@ -20,7 +20,7 @@ static PyObject *
datetime_datetime_now_impl(PyTypeObject *type, PyObject *tz); datetime_datetime_now_impl(PyTypeObject *type, PyObject *tz);
static PyObject * static PyObject *
datetime_datetime_now(PyTypeObject *type, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) datetime_datetime_now(PyTypeObject *type, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"tz", NULL}; static const char * const _keywords[] = {"tz", NULL};
@ -36,4 +36,4 @@ datetime_datetime_now(PyTypeObject *type, PyObject **args, Py_ssize_t nargs, PyO
exit: exit:
return return_value; return return_value;
} }
/*[clinic end generated code: output=93cb014e47dae4b3 input=a9049054013a1b77]*/ /*[clinic end generated code: output=1fc05897ab239b3f input=a9049054013a1b77]*/

View File

@ -52,7 +52,7 @@ _dbm_dbm_get_impl(dbmobject *self, const char *key,
Py_ssize_clean_t key_length, PyObject *default_value); Py_ssize_clean_t key_length, PyObject *default_value);
static PyObject * static PyObject *
_dbm_dbm_get(dbmobject *self, PyObject **args, Py_ssize_t nargs) _dbm_dbm_get(dbmobject *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
const char *key; const char *key;
@ -86,7 +86,7 @@ _dbm_dbm_setdefault_impl(dbmobject *self, const char *key,
PyObject *default_value); PyObject *default_value);
static PyObject * static PyObject *
_dbm_dbm_setdefault(dbmobject *self, PyObject **args, Py_ssize_t nargs) _dbm_dbm_setdefault(dbmobject *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
const char *key; const char *key;
@ -125,7 +125,7 @@ dbmopen_impl(PyObject *module, const char *filename, const char *flags,
int mode); int mode);
static PyObject * static PyObject *
dbmopen(PyObject *module, PyObject **args, Py_ssize_t nargs) dbmopen(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
const char *filename; const char *filename;
@ -141,4 +141,4 @@ dbmopen(PyObject *module, PyObject **args, Py_ssize_t nargs)
exit: exit:
return return_value; return return_value;
} }
/*[clinic end generated code: output=627d28ce1f3188dc input=a9049054013a1b77]*/ /*[clinic end generated code: output=8ce71abac849155f input=a9049054013a1b77]*/

View File

@ -161,7 +161,7 @@ _elementtree_Element_find_impl(ElementObject *self, PyObject *path,
PyObject *namespaces); PyObject *namespaces);
static PyObject * static PyObject *
_elementtree_Element_find(ElementObject *self, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) _elementtree_Element_find(ElementObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"path", "namespaces", NULL}; static const char * const _keywords[] = {"path", "namespaces", NULL};
@ -193,7 +193,7 @@ _elementtree_Element_findtext_impl(ElementObject *self, PyObject *path,
PyObject *namespaces); PyObject *namespaces);
static PyObject * static PyObject *
_elementtree_Element_findtext(ElementObject *self, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) _elementtree_Element_findtext(ElementObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"path", "default", "namespaces", NULL}; static const char * const _keywords[] = {"path", "default", "namespaces", NULL};
@ -225,7 +225,7 @@ _elementtree_Element_findall_impl(ElementObject *self, PyObject *path,
PyObject *namespaces); PyObject *namespaces);
static PyObject * static PyObject *
_elementtree_Element_findall(ElementObject *self, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) _elementtree_Element_findall(ElementObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"path", "namespaces", NULL}; static const char * const _keywords[] = {"path", "namespaces", NULL};
@ -256,7 +256,7 @@ _elementtree_Element_iterfind_impl(ElementObject *self, PyObject *path,
PyObject *namespaces); PyObject *namespaces);
static PyObject * static PyObject *
_elementtree_Element_iterfind(ElementObject *self, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) _elementtree_Element_iterfind(ElementObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"path", "namespaces", NULL}; static const char * const _keywords[] = {"path", "namespaces", NULL};
@ -287,7 +287,7 @@ _elementtree_Element_get_impl(ElementObject *self, PyObject *key,
PyObject *default_value); PyObject *default_value);
static PyObject * static PyObject *
_elementtree_Element_get(ElementObject *self, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) _elementtree_Element_get(ElementObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"key", "default", NULL}; static const char * const _keywords[] = {"key", "default", NULL};
@ -334,7 +334,7 @@ static PyObject *
_elementtree_Element_iter_impl(ElementObject *self, PyObject *tag); _elementtree_Element_iter_impl(ElementObject *self, PyObject *tag);
static PyObject * static PyObject *
_elementtree_Element_iter(ElementObject *self, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) _elementtree_Element_iter(ElementObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"tag", NULL}; static const char * const _keywords[] = {"tag", NULL};
@ -363,7 +363,7 @@ static PyObject *
_elementtree_Element_getiterator_impl(ElementObject *self, PyObject *tag); _elementtree_Element_getiterator_impl(ElementObject *self, PyObject *tag);
static PyObject * static PyObject *
_elementtree_Element_getiterator(ElementObject *self, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) _elementtree_Element_getiterator(ElementObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"tag", NULL}; static const char * const _keywords[] = {"tag", NULL};
@ -410,7 +410,7 @@ _elementtree_Element_insert_impl(ElementObject *self, Py_ssize_t index,
PyObject *subelement); PyObject *subelement);
static PyObject * static PyObject *
_elementtree_Element_insert(ElementObject *self, PyObject **args, Py_ssize_t nargs) _elementtree_Element_insert(ElementObject *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_ssize_t index; Py_ssize_t index;
@ -473,7 +473,7 @@ _elementtree_Element_makeelement_impl(ElementObject *self, PyObject *tag,
PyObject *attrib); PyObject *attrib);
static PyObject * static PyObject *
_elementtree_Element_makeelement(ElementObject *self, PyObject **args, Py_ssize_t nargs) _elementtree_Element_makeelement(ElementObject *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *tag; PyObject *tag;
@ -529,7 +529,7 @@ _elementtree_Element_set_impl(ElementObject *self, PyObject *key,
PyObject *value); PyObject *value);
static PyObject * static PyObject *
_elementtree_Element_set(ElementObject *self, PyObject **args, Py_ssize_t nargs) _elementtree_Element_set(ElementObject *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *key; PyObject *key;
@ -614,7 +614,7 @@ _elementtree_TreeBuilder_start_impl(TreeBuilderObject *self, PyObject *tag,
PyObject *attrs); PyObject *attrs);
static PyObject * static PyObject *
_elementtree_TreeBuilder_start(TreeBuilderObject *self, PyObject **args, Py_ssize_t nargs) _elementtree_TreeBuilder_start(TreeBuilderObject *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *tag; PyObject *tag;
@ -701,7 +701,7 @@ _elementtree_XMLParser_doctype_impl(XMLParserObject *self, PyObject *name,
PyObject *pubid, PyObject *system); PyObject *pubid, PyObject *system);
static PyObject * static PyObject *
_elementtree_XMLParser_doctype(XMLParserObject *self, PyObject **args, Py_ssize_t nargs) _elementtree_XMLParser_doctype(XMLParserObject *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *name; PyObject *name;
@ -733,7 +733,7 @@ _elementtree_XMLParser__setevents_impl(XMLParserObject *self,
PyObject *events_to_report); PyObject *events_to_report);
static PyObject * static PyObject *
_elementtree_XMLParser__setevents(XMLParserObject *self, PyObject **args, Py_ssize_t nargs) _elementtree_XMLParser__setevents(XMLParserObject *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *events_queue; PyObject *events_queue;
@ -749,4 +749,4 @@ _elementtree_XMLParser__setevents(XMLParserObject *self, PyObject **args, Py_ssi
exit: exit:
return return_value; return return_value;
} }
/*[clinic end generated code: output=ed55bd5209c12364 input=a9049054013a1b77]*/ /*[clinic end generated code: output=c5a85a88bbb5cc06 input=a9049054013a1b77]*/

View File

@ -15,7 +15,7 @@ static PyObject *
_gdbm_gdbm_get_impl(dbmobject *self, PyObject *key, PyObject *default_value); _gdbm_gdbm_get_impl(dbmobject *self, PyObject *key, PyObject *default_value);
static PyObject * static PyObject *
_gdbm_gdbm_get(dbmobject *self, PyObject **args, Py_ssize_t nargs) _gdbm_gdbm_get(dbmobject *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *key; PyObject *key;
@ -46,7 +46,7 @@ _gdbm_gdbm_setdefault_impl(dbmobject *self, PyObject *key,
PyObject *default_value); PyObject *default_value);
static PyObject * static PyObject *
_gdbm_gdbm_setdefault(dbmobject *self, PyObject **args, Py_ssize_t nargs) _gdbm_gdbm_setdefault(dbmobject *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *key; PyObject *key;
@ -237,7 +237,7 @@ static PyObject *
dbmopen_impl(PyObject *module, const char *name, const char *flags, int mode); dbmopen_impl(PyObject *module, const char *name, const char *flags, int mode);
static PyObject * static PyObject *
dbmopen(PyObject *module, PyObject **args, Py_ssize_t nargs) dbmopen(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
const char *name; const char *name;
@ -253,4 +253,4 @@ dbmopen(PyObject *module, PyObject **args, Py_ssize_t nargs)
exit: exit:
return return_value; return return_value;
} }
/*[clinic end generated code: output=9c72502b30bb7485 input=a9049054013a1b77]*/ /*[clinic end generated code: output=dc0aca8c00055d02 input=a9049054013a1b77]*/

View File

@ -20,7 +20,7 @@ _hashlib_scrypt_impl(PyObject *module, Py_buffer *password, Py_buffer *salt,
long maxmem, long dklen); long maxmem, long dklen);
static PyObject * static PyObject *
_hashlib_scrypt(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) _hashlib_scrypt(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"password", "salt", "n", "r", "p", "maxmem", "dklen", NULL}; static const char * const _keywords[] = {"password", "salt", "n", "r", "p", "maxmem", "dklen", NULL};
@ -57,4 +57,4 @@ exit:
#ifndef _HASHLIB_SCRYPT_METHODDEF #ifndef _HASHLIB_SCRYPT_METHODDEF
#define _HASHLIB_SCRYPT_METHODDEF #define _HASHLIB_SCRYPT_METHODDEF
#endif /* !defined(_HASHLIB_SCRYPT_METHODDEF) */ #endif /* !defined(_HASHLIB_SCRYPT_METHODDEF) */
/*[clinic end generated code: output=eda2a998d5b29030 input=a9049054013a1b77]*/ /*[clinic end generated code: output=1ea7d0397f38e2c2 input=a9049054013a1b77]*/

View File

@ -88,7 +88,7 @@ _lzma_LZMADecompressor_decompress_impl(Decompressor *self, Py_buffer *data,
Py_ssize_t max_length); Py_ssize_t max_length);
static PyObject * static PyObject *
_lzma_LZMADecompressor_decompress(Decompressor *self, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) _lzma_LZMADecompressor_decompress(Decompressor *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"data", "max_length", NULL}; static const char * const _keywords[] = {"data", "max_length", NULL};
@ -236,7 +236,7 @@ _lzma__decode_filter_properties_impl(PyObject *module, lzma_vli filter_id,
Py_buffer *encoded_props); Py_buffer *encoded_props);
static PyObject * static PyObject *
_lzma__decode_filter_properties(PyObject *module, PyObject **args, Py_ssize_t nargs) _lzma__decode_filter_properties(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
lzma_vli filter_id; lzma_vli filter_id;
@ -256,4 +256,4 @@ exit:
return return_value; return return_value;
} }
/*[clinic end generated code: output=d4e3802d0dea9af3 input=a9049054013a1b77]*/ /*[clinic end generated code: output=38c2d52362bf3712 input=a9049054013a1b77]*/

View File

@ -15,7 +15,7 @@ static int
_opcode_stack_effect_impl(PyObject *module, int opcode, PyObject *oparg); _opcode_stack_effect_impl(PyObject *module, int opcode, PyObject *oparg);
static PyObject * static PyObject *
_opcode_stack_effect(PyObject *module, PyObject **args, Py_ssize_t nargs) _opcode_stack_effect(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
int opcode; int opcode;
@ -35,4 +35,4 @@ _opcode_stack_effect(PyObject *module, PyObject **args, Py_ssize_t nargs)
exit: exit:
return return_value; return return_value;
} }
/*[clinic end generated code: output=616105b05b55eb45 input=a9049054013a1b77]*/ /*[clinic end generated code: output=577a91c9aa5559a9 input=a9049054013a1b77]*/

View File

@ -43,7 +43,7 @@ static PyObject *
_operator_add_impl(PyObject *module, PyObject *a, PyObject *b); _operator_add_impl(PyObject *module, PyObject *a, PyObject *b);
static PyObject * static PyObject *
_operator_add(PyObject *module, PyObject **args, Py_ssize_t nargs) _operator_add(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *a; PyObject *a;
@ -73,7 +73,7 @@ static PyObject *
_operator_sub_impl(PyObject *module, PyObject *a, PyObject *b); _operator_sub_impl(PyObject *module, PyObject *a, PyObject *b);
static PyObject * static PyObject *
_operator_sub(PyObject *module, PyObject **args, Py_ssize_t nargs) _operator_sub(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *a; PyObject *a;
@ -103,7 +103,7 @@ static PyObject *
_operator_mul_impl(PyObject *module, PyObject *a, PyObject *b); _operator_mul_impl(PyObject *module, PyObject *a, PyObject *b);
static PyObject * static PyObject *
_operator_mul(PyObject *module, PyObject **args, Py_ssize_t nargs) _operator_mul(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *a; PyObject *a;
@ -133,7 +133,7 @@ static PyObject *
_operator_matmul_impl(PyObject *module, PyObject *a, PyObject *b); _operator_matmul_impl(PyObject *module, PyObject *a, PyObject *b);
static PyObject * static PyObject *
_operator_matmul(PyObject *module, PyObject **args, Py_ssize_t nargs) _operator_matmul(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *a; PyObject *a;
@ -163,7 +163,7 @@ static PyObject *
_operator_floordiv_impl(PyObject *module, PyObject *a, PyObject *b); _operator_floordiv_impl(PyObject *module, PyObject *a, PyObject *b);
static PyObject * static PyObject *
_operator_floordiv(PyObject *module, PyObject **args, Py_ssize_t nargs) _operator_floordiv(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *a; PyObject *a;
@ -193,7 +193,7 @@ static PyObject *
_operator_truediv_impl(PyObject *module, PyObject *a, PyObject *b); _operator_truediv_impl(PyObject *module, PyObject *a, PyObject *b);
static PyObject * static PyObject *
_operator_truediv(PyObject *module, PyObject **args, Py_ssize_t nargs) _operator_truediv(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *a; PyObject *a;
@ -223,7 +223,7 @@ static PyObject *
_operator_mod_impl(PyObject *module, PyObject *a, PyObject *b); _operator_mod_impl(PyObject *module, PyObject *a, PyObject *b);
static PyObject * static PyObject *
_operator_mod(PyObject *module, PyObject **args, Py_ssize_t nargs) _operator_mod(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *a; PyObject *a;
@ -298,7 +298,7 @@ static PyObject *
_operator_lshift_impl(PyObject *module, PyObject *a, PyObject *b); _operator_lshift_impl(PyObject *module, PyObject *a, PyObject *b);
static PyObject * static PyObject *
_operator_lshift(PyObject *module, PyObject **args, Py_ssize_t nargs) _operator_lshift(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *a; PyObject *a;
@ -328,7 +328,7 @@ static PyObject *
_operator_rshift_impl(PyObject *module, PyObject *a, PyObject *b); _operator_rshift_impl(PyObject *module, PyObject *a, PyObject *b);
static PyObject * static PyObject *
_operator_rshift(PyObject *module, PyObject **args, Py_ssize_t nargs) _operator_rshift(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *a; PyObject *a;
@ -386,7 +386,7 @@ static PyObject *
_operator_and__impl(PyObject *module, PyObject *a, PyObject *b); _operator_and__impl(PyObject *module, PyObject *a, PyObject *b);
static PyObject * static PyObject *
_operator_and_(PyObject *module, PyObject **args, Py_ssize_t nargs) _operator_and_(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *a; PyObject *a;
@ -416,7 +416,7 @@ static PyObject *
_operator_xor_impl(PyObject *module, PyObject *a, PyObject *b); _operator_xor_impl(PyObject *module, PyObject *a, PyObject *b);
static PyObject * static PyObject *
_operator_xor(PyObject *module, PyObject **args, Py_ssize_t nargs) _operator_xor(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *a; PyObject *a;
@ -446,7 +446,7 @@ static PyObject *
_operator_or__impl(PyObject *module, PyObject *a, PyObject *b); _operator_or__impl(PyObject *module, PyObject *a, PyObject *b);
static PyObject * static PyObject *
_operator_or_(PyObject *module, PyObject **args, Py_ssize_t nargs) _operator_or_(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *a; PyObject *a;
@ -476,7 +476,7 @@ static PyObject *
_operator_iadd_impl(PyObject *module, PyObject *a, PyObject *b); _operator_iadd_impl(PyObject *module, PyObject *a, PyObject *b);
static PyObject * static PyObject *
_operator_iadd(PyObject *module, PyObject **args, Py_ssize_t nargs) _operator_iadd(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *a; PyObject *a;
@ -506,7 +506,7 @@ static PyObject *
_operator_isub_impl(PyObject *module, PyObject *a, PyObject *b); _operator_isub_impl(PyObject *module, PyObject *a, PyObject *b);
static PyObject * static PyObject *
_operator_isub(PyObject *module, PyObject **args, Py_ssize_t nargs) _operator_isub(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *a; PyObject *a;
@ -536,7 +536,7 @@ static PyObject *
_operator_imul_impl(PyObject *module, PyObject *a, PyObject *b); _operator_imul_impl(PyObject *module, PyObject *a, PyObject *b);
static PyObject * static PyObject *
_operator_imul(PyObject *module, PyObject **args, Py_ssize_t nargs) _operator_imul(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *a; PyObject *a;
@ -566,7 +566,7 @@ static PyObject *
_operator_imatmul_impl(PyObject *module, PyObject *a, PyObject *b); _operator_imatmul_impl(PyObject *module, PyObject *a, PyObject *b);
static PyObject * static PyObject *
_operator_imatmul(PyObject *module, PyObject **args, Py_ssize_t nargs) _operator_imatmul(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *a; PyObject *a;
@ -596,7 +596,7 @@ static PyObject *
_operator_ifloordiv_impl(PyObject *module, PyObject *a, PyObject *b); _operator_ifloordiv_impl(PyObject *module, PyObject *a, PyObject *b);
static PyObject * static PyObject *
_operator_ifloordiv(PyObject *module, PyObject **args, Py_ssize_t nargs) _operator_ifloordiv(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *a; PyObject *a;
@ -626,7 +626,7 @@ static PyObject *
_operator_itruediv_impl(PyObject *module, PyObject *a, PyObject *b); _operator_itruediv_impl(PyObject *module, PyObject *a, PyObject *b);
static PyObject * static PyObject *
_operator_itruediv(PyObject *module, PyObject **args, Py_ssize_t nargs) _operator_itruediv(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *a; PyObject *a;
@ -656,7 +656,7 @@ static PyObject *
_operator_imod_impl(PyObject *module, PyObject *a, PyObject *b); _operator_imod_impl(PyObject *module, PyObject *a, PyObject *b);
static PyObject * static PyObject *
_operator_imod(PyObject *module, PyObject **args, Py_ssize_t nargs) _operator_imod(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *a; PyObject *a;
@ -686,7 +686,7 @@ static PyObject *
_operator_ilshift_impl(PyObject *module, PyObject *a, PyObject *b); _operator_ilshift_impl(PyObject *module, PyObject *a, PyObject *b);
static PyObject * static PyObject *
_operator_ilshift(PyObject *module, PyObject **args, Py_ssize_t nargs) _operator_ilshift(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *a; PyObject *a;
@ -716,7 +716,7 @@ static PyObject *
_operator_irshift_impl(PyObject *module, PyObject *a, PyObject *b); _operator_irshift_impl(PyObject *module, PyObject *a, PyObject *b);
static PyObject * static PyObject *
_operator_irshift(PyObject *module, PyObject **args, Py_ssize_t nargs) _operator_irshift(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *a; PyObject *a;
@ -746,7 +746,7 @@ static PyObject *
_operator_iand_impl(PyObject *module, PyObject *a, PyObject *b); _operator_iand_impl(PyObject *module, PyObject *a, PyObject *b);
static PyObject * static PyObject *
_operator_iand(PyObject *module, PyObject **args, Py_ssize_t nargs) _operator_iand(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *a; PyObject *a;
@ -776,7 +776,7 @@ static PyObject *
_operator_ixor_impl(PyObject *module, PyObject *a, PyObject *b); _operator_ixor_impl(PyObject *module, PyObject *a, PyObject *b);
static PyObject * static PyObject *
_operator_ixor(PyObject *module, PyObject **args, Py_ssize_t nargs) _operator_ixor(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *a; PyObject *a;
@ -806,7 +806,7 @@ static PyObject *
_operator_ior_impl(PyObject *module, PyObject *a, PyObject *b); _operator_ior_impl(PyObject *module, PyObject *a, PyObject *b);
static PyObject * static PyObject *
_operator_ior(PyObject *module, PyObject **args, Py_ssize_t nargs) _operator_ior(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *a; PyObject *a;
@ -836,7 +836,7 @@ static PyObject *
_operator_concat_impl(PyObject *module, PyObject *a, PyObject *b); _operator_concat_impl(PyObject *module, PyObject *a, PyObject *b);
static PyObject * static PyObject *
_operator_concat(PyObject *module, PyObject **args, Py_ssize_t nargs) _operator_concat(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *a; PyObject *a;
@ -866,7 +866,7 @@ static PyObject *
_operator_iconcat_impl(PyObject *module, PyObject *a, PyObject *b); _operator_iconcat_impl(PyObject *module, PyObject *a, PyObject *b);
static PyObject * static PyObject *
_operator_iconcat(PyObject *module, PyObject **args, Py_ssize_t nargs) _operator_iconcat(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *a; PyObject *a;
@ -896,7 +896,7 @@ static int
_operator_contains_impl(PyObject *module, PyObject *a, PyObject *b); _operator_contains_impl(PyObject *module, PyObject *a, PyObject *b);
static PyObject * static PyObject *
_operator_contains(PyObject *module, PyObject **args, Py_ssize_t nargs) _operator_contains(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *a; PyObject *a;
@ -931,7 +931,7 @@ static Py_ssize_t
_operator_indexOf_impl(PyObject *module, PyObject *a, PyObject *b); _operator_indexOf_impl(PyObject *module, PyObject *a, PyObject *b);
static PyObject * static PyObject *
_operator_indexOf(PyObject *module, PyObject **args, Py_ssize_t nargs) _operator_indexOf(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *a; PyObject *a;
@ -966,7 +966,7 @@ static Py_ssize_t
_operator_countOf_impl(PyObject *module, PyObject *a, PyObject *b); _operator_countOf_impl(PyObject *module, PyObject *a, PyObject *b);
static PyObject * static PyObject *
_operator_countOf(PyObject *module, PyObject **args, Py_ssize_t nargs) _operator_countOf(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *a; PyObject *a;
@ -1001,7 +1001,7 @@ static PyObject *
_operator_getitem_impl(PyObject *module, PyObject *a, PyObject *b); _operator_getitem_impl(PyObject *module, PyObject *a, PyObject *b);
static PyObject * static PyObject *
_operator_getitem(PyObject *module, PyObject **args, Py_ssize_t nargs) _operator_getitem(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *a; PyObject *a;
@ -1032,7 +1032,7 @@ _operator_setitem_impl(PyObject *module, PyObject *a, PyObject *b,
PyObject *c); PyObject *c);
static PyObject * static PyObject *
_operator_setitem(PyObject *module, PyObject **args, Py_ssize_t nargs) _operator_setitem(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *a; PyObject *a;
@ -1063,7 +1063,7 @@ static PyObject *
_operator_delitem_impl(PyObject *module, PyObject *a, PyObject *b); _operator_delitem_impl(PyObject *module, PyObject *a, PyObject *b);
static PyObject * static PyObject *
_operator_delitem(PyObject *module, PyObject **args, Py_ssize_t nargs) _operator_delitem(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *a; PyObject *a;
@ -1093,7 +1093,7 @@ static PyObject *
_operator_eq_impl(PyObject *module, PyObject *a, PyObject *b); _operator_eq_impl(PyObject *module, PyObject *a, PyObject *b);
static PyObject * static PyObject *
_operator_eq(PyObject *module, PyObject **args, Py_ssize_t nargs) _operator_eq(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *a; PyObject *a;
@ -1123,7 +1123,7 @@ static PyObject *
_operator_ne_impl(PyObject *module, PyObject *a, PyObject *b); _operator_ne_impl(PyObject *module, PyObject *a, PyObject *b);
static PyObject * static PyObject *
_operator_ne(PyObject *module, PyObject **args, Py_ssize_t nargs) _operator_ne(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *a; PyObject *a;
@ -1153,7 +1153,7 @@ static PyObject *
_operator_lt_impl(PyObject *module, PyObject *a, PyObject *b); _operator_lt_impl(PyObject *module, PyObject *a, PyObject *b);
static PyObject * static PyObject *
_operator_lt(PyObject *module, PyObject **args, Py_ssize_t nargs) _operator_lt(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *a; PyObject *a;
@ -1183,7 +1183,7 @@ static PyObject *
_operator_le_impl(PyObject *module, PyObject *a, PyObject *b); _operator_le_impl(PyObject *module, PyObject *a, PyObject *b);
static PyObject * static PyObject *
_operator_le(PyObject *module, PyObject **args, Py_ssize_t nargs) _operator_le(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *a; PyObject *a;
@ -1213,7 +1213,7 @@ static PyObject *
_operator_gt_impl(PyObject *module, PyObject *a, PyObject *b); _operator_gt_impl(PyObject *module, PyObject *a, PyObject *b);
static PyObject * static PyObject *
_operator_gt(PyObject *module, PyObject **args, Py_ssize_t nargs) _operator_gt(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *a; PyObject *a;
@ -1243,7 +1243,7 @@ static PyObject *
_operator_ge_impl(PyObject *module, PyObject *a, PyObject *b); _operator_ge_impl(PyObject *module, PyObject *a, PyObject *b);
static PyObject * static PyObject *
_operator_ge(PyObject *module, PyObject **args, Py_ssize_t nargs) _operator_ge(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *a; PyObject *a;
@ -1273,7 +1273,7 @@ static PyObject *
_operator_pow_impl(PyObject *module, PyObject *a, PyObject *b); _operator_pow_impl(PyObject *module, PyObject *a, PyObject *b);
static PyObject * static PyObject *
_operator_pow(PyObject *module, PyObject **args, Py_ssize_t nargs) _operator_pow(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *a; PyObject *a;
@ -1303,7 +1303,7 @@ static PyObject *
_operator_ipow_impl(PyObject *module, PyObject *a, PyObject *b); _operator_ipow_impl(PyObject *module, PyObject *a, PyObject *b);
static PyObject * static PyObject *
_operator_ipow(PyObject *module, PyObject **args, Py_ssize_t nargs) _operator_ipow(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *a; PyObject *a;
@ -1342,7 +1342,7 @@ static PyObject *
_operator_is__impl(PyObject *module, PyObject *a, PyObject *b); _operator_is__impl(PyObject *module, PyObject *a, PyObject *b);
static PyObject * static PyObject *
_operator_is_(PyObject *module, PyObject **args, Py_ssize_t nargs) _operator_is_(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *a; PyObject *a;
@ -1372,7 +1372,7 @@ static PyObject *
_operator_is_not_impl(PyObject *module, PyObject *a, PyObject *b); _operator_is_not_impl(PyObject *module, PyObject *a, PyObject *b);
static PyObject * static PyObject *
_operator_is_not(PyObject *module, PyObject **args, Py_ssize_t nargs) _operator_is_not(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *a; PyObject *a;
@ -1409,7 +1409,7 @@ _operator_length_hint_impl(PyObject *module, PyObject *obj,
Py_ssize_t default_value); Py_ssize_t default_value);
static PyObject * static PyObject *
_operator_length_hint(PyObject *module, PyObject **args, Py_ssize_t nargs) _operator_length_hint(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *obj; PyObject *obj;
@ -1453,7 +1453,7 @@ static PyObject *
_operator__compare_digest_impl(PyObject *module, PyObject *a, PyObject *b); _operator__compare_digest_impl(PyObject *module, PyObject *a, PyObject *b);
static PyObject * static PyObject *
_operator__compare_digest(PyObject *module, PyObject **args, Py_ssize_t nargs) _operator__compare_digest(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *a; PyObject *a;
@ -1469,4 +1469,4 @@ _operator__compare_digest(PyObject *module, PyObject **args, Py_ssize_t nargs)
exit: exit:
return return_value; return return_value;
} }
/*[clinic end generated code: output=7c42956af269cb21 input=a9049054013a1b77]*/ /*[clinic end generated code: output=d840f7ea76af2372 input=a9049054013a1b77]*/

View File

@ -207,7 +207,7 @@ _pickle_Unpickler_find_class_impl(UnpicklerObject *self,
PyObject *global_name); PyObject *global_name);
static PyObject * static PyObject *
_pickle_Unpickler_find_class(UnpicklerObject *self, PyObject **args, Py_ssize_t nargs) _pickle_Unpickler_find_class(UnpicklerObject *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *module_name; PyObject *module_name;
@ -391,7 +391,7 @@ _pickle_dump_impl(PyObject *module, PyObject *obj, PyObject *file,
PyObject *protocol, int fix_imports); PyObject *protocol, int fix_imports);
static PyObject * static PyObject *
_pickle_dump(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) _pickle_dump(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"obj", "file", "protocol", "fix_imports", NULL}; static const char * const _keywords[] = {"obj", "file", "protocol", "fix_imports", NULL};
@ -437,7 +437,7 @@ _pickle_dumps_impl(PyObject *module, PyObject *obj, PyObject *protocol,
int fix_imports); int fix_imports);
static PyObject * static PyObject *
_pickle_dumps(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) _pickle_dumps(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"obj", "protocol", "fix_imports", NULL}; static const char * const _keywords[] = {"obj", "protocol", "fix_imports", NULL};
@ -493,7 +493,7 @@ _pickle_load_impl(PyObject *module, PyObject *file, int fix_imports,
const char *encoding, const char *errors); const char *encoding, const char *errors);
static PyObject * static PyObject *
_pickle_load(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) _pickle_load(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"file", "fix_imports", "encoding", "errors", NULL}; static const char * const _keywords[] = {"file", "fix_imports", "encoding", "errors", NULL};
@ -541,7 +541,7 @@ _pickle_loads_impl(PyObject *module, PyObject *data, int fix_imports,
const char *encoding, const char *errors); const char *encoding, const char *errors);
static PyObject * static PyObject *
_pickle_loads(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) _pickle_loads(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"data", "fix_imports", "encoding", "errors", NULL}; static const char * const _keywords[] = {"data", "fix_imports", "encoding", "errors", NULL};
@ -560,4 +560,4 @@ _pickle_loads(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwn
exit: exit:
return return_value; return return_value;
} }
/*[clinic end generated code: output=a6243aaa6ea98732 input=a9049054013a1b77]*/ /*[clinic end generated code: output=e995dd494045d876 input=a9049054013a1b77]*/

View File

@ -167,7 +167,7 @@ _sre_SRE_Pattern_match_impl(PatternObject *self, PyObject *string,
Py_ssize_t pos, Py_ssize_t endpos); Py_ssize_t pos, Py_ssize_t endpos);
static PyObject * static PyObject *
_sre_SRE_Pattern_match(PatternObject *self, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) _sre_SRE_Pattern_match(PatternObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"string", "pos", "endpos", NULL}; static const char * const _keywords[] = {"string", "pos", "endpos", NULL};
@ -200,7 +200,7 @@ _sre_SRE_Pattern_fullmatch_impl(PatternObject *self, PyObject *string,
Py_ssize_t pos, Py_ssize_t endpos); Py_ssize_t pos, Py_ssize_t endpos);
static PyObject * static PyObject *
_sre_SRE_Pattern_fullmatch(PatternObject *self, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) _sre_SRE_Pattern_fullmatch(PatternObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"string", "pos", "endpos", NULL}; static const char * const _keywords[] = {"string", "pos", "endpos", NULL};
@ -235,7 +235,7 @@ _sre_SRE_Pattern_search_impl(PatternObject *self, PyObject *string,
Py_ssize_t pos, Py_ssize_t endpos); Py_ssize_t pos, Py_ssize_t endpos);
static PyObject * static PyObject *
_sre_SRE_Pattern_search(PatternObject *self, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) _sre_SRE_Pattern_search(PatternObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"string", "pos", "endpos", NULL}; static const char * const _keywords[] = {"string", "pos", "endpos", NULL};
@ -268,7 +268,7 @@ _sre_SRE_Pattern_findall_impl(PatternObject *self, PyObject *string,
Py_ssize_t pos, Py_ssize_t endpos); Py_ssize_t pos, Py_ssize_t endpos);
static PyObject * static PyObject *
_sre_SRE_Pattern_findall(PatternObject *self, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) _sre_SRE_Pattern_findall(PatternObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"string", "pos", "endpos", NULL}; static const char * const _keywords[] = {"string", "pos", "endpos", NULL};
@ -303,7 +303,7 @@ _sre_SRE_Pattern_finditer_impl(PatternObject *self, PyObject *string,
Py_ssize_t pos, Py_ssize_t endpos); Py_ssize_t pos, Py_ssize_t endpos);
static PyObject * static PyObject *
_sre_SRE_Pattern_finditer(PatternObject *self, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) _sre_SRE_Pattern_finditer(PatternObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"string", "pos", "endpos", NULL}; static const char * const _keywords[] = {"string", "pos", "endpos", NULL};
@ -335,7 +335,7 @@ _sre_SRE_Pattern_scanner_impl(PatternObject *self, PyObject *string,
Py_ssize_t pos, Py_ssize_t endpos); Py_ssize_t pos, Py_ssize_t endpos);
static PyObject * static PyObject *
_sre_SRE_Pattern_scanner(PatternObject *self, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) _sre_SRE_Pattern_scanner(PatternObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"string", "pos", "endpos", NULL}; static const char * const _keywords[] = {"string", "pos", "endpos", NULL};
@ -368,7 +368,7 @@ _sre_SRE_Pattern_split_impl(PatternObject *self, PyObject *string,
Py_ssize_t maxsplit); Py_ssize_t maxsplit);
static PyObject * static PyObject *
_sre_SRE_Pattern_split(PatternObject *self, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) _sre_SRE_Pattern_split(PatternObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"string", "maxsplit", NULL}; static const char * const _keywords[] = {"string", "maxsplit", NULL};
@ -400,7 +400,7 @@ _sre_SRE_Pattern_sub_impl(PatternObject *self, PyObject *repl,
PyObject *string, Py_ssize_t count); PyObject *string, Py_ssize_t count);
static PyObject * static PyObject *
_sre_SRE_Pattern_sub(PatternObject *self, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) _sre_SRE_Pattern_sub(PatternObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"repl", "string", "count", NULL}; static const char * const _keywords[] = {"repl", "string", "count", NULL};
@ -433,7 +433,7 @@ _sre_SRE_Pattern_subn_impl(PatternObject *self, PyObject *repl,
PyObject *string, Py_ssize_t count); PyObject *string, Py_ssize_t count);
static PyObject * static PyObject *
_sre_SRE_Pattern_subn(PatternObject *self, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) _sre_SRE_Pattern_subn(PatternObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"repl", "string", "count", NULL}; static const char * const _keywords[] = {"repl", "string", "count", NULL};
@ -492,7 +492,7 @@ _sre_compile_impl(PyObject *module, PyObject *pattern, int flags,
PyObject *indexgroup); PyObject *indexgroup);
static PyObject * static PyObject *
_sre_compile(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) _sre_compile(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"pattern", "flags", "code", "groups", "groupindex", "indexgroup", NULL}; static const char * const _keywords[] = {"pattern", "flags", "code", "groups", "groupindex", "indexgroup", NULL};
@ -527,7 +527,7 @@ static PyObject *
_sre_SRE_Match_expand_impl(MatchObject *self, PyObject *template); _sre_SRE_Match_expand_impl(MatchObject *self, PyObject *template);
static PyObject * static PyObject *
_sre_SRE_Match_expand(MatchObject *self, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) _sre_SRE_Match_expand(MatchObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"template", NULL}; static const char * const _keywords[] = {"template", NULL};
@ -560,7 +560,7 @@ static PyObject *
_sre_SRE_Match_groups_impl(MatchObject *self, PyObject *default_value); _sre_SRE_Match_groups_impl(MatchObject *self, PyObject *default_value);
static PyObject * static PyObject *
_sre_SRE_Match_groups(MatchObject *self, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) _sre_SRE_Match_groups(MatchObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"default", NULL}; static const char * const _keywords[] = {"default", NULL};
@ -593,7 +593,7 @@ static PyObject *
_sre_SRE_Match_groupdict_impl(MatchObject *self, PyObject *default_value); _sre_SRE_Match_groupdict_impl(MatchObject *self, PyObject *default_value);
static PyObject * static PyObject *
_sre_SRE_Match_groupdict(MatchObject *self, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) _sre_SRE_Match_groupdict(MatchObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"default", NULL}; static const char * const _keywords[] = {"default", NULL};
@ -623,7 +623,7 @@ static Py_ssize_t
_sre_SRE_Match_start_impl(MatchObject *self, PyObject *group); _sre_SRE_Match_start_impl(MatchObject *self, PyObject *group);
static PyObject * static PyObject *
_sre_SRE_Match_start(MatchObject *self, PyObject **args, Py_ssize_t nargs) _sre_SRE_Match_start(MatchObject *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *group = NULL; PyObject *group = NULL;
@ -657,7 +657,7 @@ static Py_ssize_t
_sre_SRE_Match_end_impl(MatchObject *self, PyObject *group); _sre_SRE_Match_end_impl(MatchObject *self, PyObject *group);
static PyObject * static PyObject *
_sre_SRE_Match_end(MatchObject *self, PyObject **args, Py_ssize_t nargs) _sre_SRE_Match_end(MatchObject *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *group = NULL; PyObject *group = NULL;
@ -691,7 +691,7 @@ static PyObject *
_sre_SRE_Match_span_impl(MatchObject *self, PyObject *group); _sre_SRE_Match_span_impl(MatchObject *self, PyObject *group);
static PyObject * static PyObject *
_sre_SRE_Match_span(MatchObject *self, PyObject **args, Py_ssize_t nargs) _sre_SRE_Match_span(MatchObject *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *group = NULL; PyObject *group = NULL;
@ -765,4 +765,4 @@ _sre_SRE_Scanner_search(ScannerObject *self, PyObject *Py_UNUSED(ignored))
{ {
return _sre_SRE_Scanner_search_impl(self); return _sre_SRE_Scanner_search_impl(self);
} }
/*[clinic end generated code: output=1e6a1be31302df09 input=a9049054013a1b77]*/ /*[clinic end generated code: output=4b807104b65c1e0e input=a9049054013a1b77]*/

View File

@ -66,7 +66,7 @@ static PyObject *
_ssl__SSLSocket_peer_certificate_impl(PySSLSocket *self, int binary_mode); _ssl__SSLSocket_peer_certificate_impl(PySSLSocket *self, int binary_mode);
static PyObject * static PyObject *
_ssl__SSLSocket_peer_certificate(PySSLSocket *self, PyObject **args, Py_ssize_t nargs) _ssl__SSLSocket_peer_certificate(PySSLSocket *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
int binary_mode = 0; int binary_mode = 0;
@ -476,7 +476,7 @@ _ssl__SSLContext_load_cert_chain_impl(PySSLContext *self, PyObject *certfile,
PyObject *keyfile, PyObject *password); PyObject *keyfile, PyObject *password);
static PyObject * static PyObject *
_ssl__SSLContext_load_cert_chain(PySSLContext *self, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) _ssl__SSLContext_load_cert_chain(PySSLContext *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"certfile", "keyfile", "password", NULL}; static const char * const _keywords[] = {"certfile", "keyfile", "password", NULL};
@ -510,7 +510,7 @@ _ssl__SSLContext_load_verify_locations_impl(PySSLContext *self,
PyObject *cadata); PyObject *cadata);
static PyObject * static PyObject *
_ssl__SSLContext_load_verify_locations(PySSLContext *self, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) _ssl__SSLContext_load_verify_locations(PySSLContext *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"cafile", "capath", "cadata", NULL}; static const char * const _keywords[] = {"cafile", "capath", "cadata", NULL};
@ -550,7 +550,7 @@ _ssl__SSLContext__wrap_socket_impl(PySSLContext *self, PyObject *sock,
int server_side, PyObject *hostname_obj); int server_side, PyObject *hostname_obj);
static PyObject * static PyObject *
_ssl__SSLContext__wrap_socket(PySSLContext *self, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) _ssl__SSLContext__wrap_socket(PySSLContext *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"sock", "server_side", "server_hostname", NULL}; static const char * const _keywords[] = {"sock", "server_side", "server_hostname", NULL};
@ -584,7 +584,7 @@ _ssl__SSLContext__wrap_bio_impl(PySSLContext *self, PySSLMemoryBIO *incoming,
PyObject *hostname_obj); PyObject *hostname_obj);
static PyObject * static PyObject *
_ssl__SSLContext__wrap_bio(PySSLContext *self, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) _ssl__SSLContext__wrap_bio(PySSLContext *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"incoming", "outgoing", "server_side", "server_hostname", NULL}; static const char * const _keywords[] = {"incoming", "outgoing", "server_side", "server_hostname", NULL};
@ -706,7 +706,7 @@ static PyObject *
_ssl__SSLContext_get_ca_certs_impl(PySSLContext *self, int binary_form); _ssl__SSLContext_get_ca_certs_impl(PySSLContext *self, int binary_form);
static PyObject * static PyObject *
_ssl__SSLContext_get_ca_certs(PySSLContext *self, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) _ssl__SSLContext_get_ca_certs(PySSLContext *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"binary_form", NULL}; static const char * const _keywords[] = {"binary_form", NULL};
@ -763,7 +763,7 @@ static PyObject *
_ssl_MemoryBIO_read_impl(PySSLMemoryBIO *self, int len); _ssl_MemoryBIO_read_impl(PySSLMemoryBIO *self, int len);
static PyObject * static PyObject *
_ssl_MemoryBIO_read(PySSLMemoryBIO *self, PyObject **args, Py_ssize_t nargs) _ssl_MemoryBIO_read(PySSLMemoryBIO *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
int len = -1; int len = -1;
@ -848,7 +848,7 @@ static PyObject *
_ssl_RAND_add_impl(PyObject *module, Py_buffer *view, double entropy); _ssl_RAND_add_impl(PyObject *module, Py_buffer *view, double entropy);
static PyObject * static PyObject *
_ssl_RAND_add(PyObject *module, PyObject **args, Py_ssize_t nargs) _ssl_RAND_add(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_buffer view = {NULL, NULL}; Py_buffer view = {NULL, NULL};
@ -1017,7 +1017,7 @@ static PyObject *
_ssl_txt2obj_impl(PyObject *module, const char *txt, int name); _ssl_txt2obj_impl(PyObject *module, const char *txt, int name);
static PyObject * static PyObject *
_ssl_txt2obj(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) _ssl_txt2obj(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"txt", "name", NULL}; static const char * const _keywords[] = {"txt", "name", NULL};
@ -1083,7 +1083,7 @@ static PyObject *
_ssl_enum_certificates_impl(PyObject *module, const char *store_name); _ssl_enum_certificates_impl(PyObject *module, const char *store_name);
static PyObject * static PyObject *
_ssl_enum_certificates(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) _ssl_enum_certificates(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"store_name", NULL}; static const char * const _keywords[] = {"store_name", NULL};
@ -1122,7 +1122,7 @@ static PyObject *
_ssl_enum_crls_impl(PyObject *module, const char *store_name); _ssl_enum_crls_impl(PyObject *module, const char *store_name);
static PyObject * static PyObject *
_ssl_enum_crls(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) _ssl_enum_crls(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"store_name", NULL}; static const char * const _keywords[] = {"store_name", NULL};
@ -1168,4 +1168,4 @@ exit:
#ifndef _SSL_ENUM_CRLS_METHODDEF #ifndef _SSL_ENUM_CRLS_METHODDEF
#define _SSL_ENUM_CRLS_METHODDEF #define _SSL_ENUM_CRLS_METHODDEF
#endif /* !defined(_SSL_ENUM_CRLS_METHODDEF) */ #endif /* !defined(_SSL_ENUM_CRLS_METHODDEF) */
/*[clinic end generated code: output=00790af9c3f31706 input=a9049054013a1b77]*/ /*[clinic end generated code: output=3d42305ed0ad162a input=a9049054013a1b77]*/

View File

@ -91,7 +91,7 @@ Struct_unpack_from_impl(PyStructObject *self, Py_buffer *buffer,
Py_ssize_t offset); Py_ssize_t offset);
static PyObject * static PyObject *
Struct_unpack_from(PyStructObject *self, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) Struct_unpack_from(PyStructObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"buffer", "offset", NULL}; static const char * const _keywords[] = {"buffer", "offset", NULL};
@ -198,7 +198,7 @@ static PyObject *
unpack_impl(PyObject *module, PyStructObject *s_object, Py_buffer *buffer); unpack_impl(PyObject *module, PyStructObject *s_object, Py_buffer *buffer);
static PyObject * static PyObject *
unpack(PyObject *module, PyObject **args, Py_ssize_t nargs) unpack(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyStructObject *s_object = NULL; PyStructObject *s_object = NULL;
@ -239,7 +239,7 @@ unpack_from_impl(PyObject *module, PyStructObject *s_object,
Py_buffer *buffer, Py_ssize_t offset); Py_buffer *buffer, Py_ssize_t offset);
static PyObject * static PyObject *
unpack_from(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) unpack_from(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"", "buffer", "offset", NULL}; static const char * const _keywords[] = {"", "buffer", "offset", NULL};
@ -284,7 +284,7 @@ iter_unpack_impl(PyObject *module, PyStructObject *s_object,
PyObject *buffer); PyObject *buffer);
static PyObject * static PyObject *
iter_unpack(PyObject *module, PyObject **args, Py_ssize_t nargs) iter_unpack(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyStructObject *s_object = NULL; PyStructObject *s_object = NULL;
@ -302,4 +302,4 @@ exit:
return return_value; return return_value;
} }
/*[clinic end generated code: output=fce060787b4c5261 input=a9049054013a1b77]*/ /*[clinic end generated code: output=9119f213a951e4cc input=a9049054013a1b77]*/

View File

@ -263,7 +263,7 @@ _tkinter_tkapp_createcommand_impl(TkappObject *self, const char *name,
PyObject *func); PyObject *func);
static PyObject * static PyObject *
_tkinter_tkapp_createcommand(TkappObject *self, PyObject **args, Py_ssize_t nargs) _tkinter_tkapp_createcommand(TkappObject *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
const char *name; const char *name;
@ -320,7 +320,7 @@ _tkinter_tkapp_createfilehandler_impl(TkappObject *self, PyObject *file,
int mask, PyObject *func); int mask, PyObject *func);
static PyObject * static PyObject *
_tkinter_tkapp_createfilehandler(TkappObject *self, PyObject **args, Py_ssize_t nargs) _tkinter_tkapp_createfilehandler(TkappObject *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *file; PyObject *file;
@ -381,7 +381,7 @@ _tkinter_tkapp_createtimerhandler_impl(TkappObject *self, int milliseconds,
PyObject *func); PyObject *func);
static PyObject * static PyObject *
_tkinter_tkapp_createtimerhandler(TkappObject *self, PyObject **args, Py_ssize_t nargs) _tkinter_tkapp_createtimerhandler(TkappObject *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
int milliseconds; int milliseconds;
@ -409,7 +409,7 @@ static PyObject *
_tkinter_tkapp_mainloop_impl(TkappObject *self, int threshold); _tkinter_tkapp_mainloop_impl(TkappObject *self, int threshold);
static PyObject * static PyObject *
_tkinter_tkapp_mainloop(TkappObject *self, PyObject **args, Py_ssize_t nargs) _tkinter_tkapp_mainloop(TkappObject *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
int threshold = 0; int threshold = 0;
@ -436,7 +436,7 @@ static PyObject *
_tkinter_tkapp_dooneevent_impl(TkappObject *self, int flags); _tkinter_tkapp_dooneevent_impl(TkappObject *self, int flags);
static PyObject * static PyObject *
_tkinter_tkapp_dooneevent(TkappObject *self, PyObject **args, Py_ssize_t nargs) _tkinter_tkapp_dooneevent(TkappObject *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
int flags = 0; int flags = 0;
@ -552,7 +552,7 @@ _tkinter_create_impl(PyObject *module, const char *screenName,
const char *use); const char *use);
static PyObject * static PyObject *
_tkinter_create(PyObject *module, PyObject **args, Py_ssize_t nargs) _tkinter_create(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
const char *screenName = NULL; const char *screenName = NULL;
@ -638,4 +638,4 @@ exit:
#ifndef _TKINTER_TKAPP_DELETEFILEHANDLER_METHODDEF #ifndef _TKINTER_TKAPP_DELETEFILEHANDLER_METHODDEF
#define _TKINTER_TKAPP_DELETEFILEHANDLER_METHODDEF #define _TKINTER_TKAPP_DELETEFILEHANDLER_METHODDEF
#endif /* !defined(_TKINTER_TKAPP_DELETEFILEHANDLER_METHODDEF) */ #endif /* !defined(_TKINTER_TKAPP_DELETEFILEHANDLER_METHODDEF) */
/*[clinic end generated code: output=ca36236c57713ba0 input=a9049054013a1b77]*/ /*[clinic end generated code: output=eb3202e07db3dbb1 input=a9049054013a1b77]*/

View File

@ -90,7 +90,7 @@ static PyObject *
_tracemalloc_start_impl(PyObject *module, int nframe); _tracemalloc_start_impl(PyObject *module, int nframe);
static PyObject * static PyObject *
_tracemalloc_start(PyObject *module, PyObject **args, Py_ssize_t nargs) _tracemalloc_start(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
int nframe = 1; int nframe = 1;
@ -185,4 +185,4 @@ _tracemalloc_get_traced_memory(PyObject *module, PyObject *Py_UNUSED(ignored))
{ {
return _tracemalloc_get_traced_memory_impl(module); return _tracemalloc_get_traced_memory_impl(module);
} }
/*[clinic end generated code: output=db4f909464c186e2 input=a9049054013a1b77]*/ /*[clinic end generated code: output=d98afded69c89d52 input=a9049054013a1b77]*/

View File

@ -44,7 +44,7 @@ _weakref__remove_dead_weakref_impl(PyObject *module, PyObject *dct,
PyObject *key); PyObject *key);
static PyObject * static PyObject *
_weakref__remove_dead_weakref(PyObject *module, PyObject **args, Py_ssize_t nargs) _weakref__remove_dead_weakref(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *dct; PyObject *dct;
@ -59,4 +59,4 @@ _weakref__remove_dead_weakref(PyObject *module, PyObject **args, Py_ssize_t narg
exit: exit:
return return_value; return return_value;
} }
/*[clinic end generated code: output=87ddb70850080222 input=a9049054013a1b77]*/ /*[clinic end generated code: output=b6a61a4f365a3f0a input=a9049054013a1b77]*/

View File

@ -102,7 +102,7 @@ _winapi_ConnectNamedPipe_impl(PyObject *module, HANDLE handle,
int use_overlapped); int use_overlapped);
static PyObject * static PyObject *
_winapi_ConnectNamedPipe(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) _winapi_ConnectNamedPipe(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"handle", "overlapped", NULL}; static const char * const _keywords[] = {"handle", "overlapped", NULL};
@ -138,7 +138,7 @@ _winapi_CreateFile_impl(PyObject *module, LPCTSTR file_name,
DWORD flags_and_attributes, HANDLE template_file); DWORD flags_and_attributes, HANDLE template_file);
static PyObject * static PyObject *
_winapi_CreateFile(PyObject *module, PyObject **args, Py_ssize_t nargs) _winapi_CreateFile(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
LPCTSTR file_name; LPCTSTR file_name;
@ -180,7 +180,7 @@ _winapi_CreateJunction_impl(PyObject *module, LPWSTR src_path,
LPWSTR dst_path); LPWSTR dst_path);
static PyObject * static PyObject *
_winapi_CreateJunction(PyObject *module, PyObject **args, Py_ssize_t nargs) _winapi_CreateJunction(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
LPWSTR src_path; LPWSTR src_path;
@ -214,7 +214,7 @@ _winapi_CreateNamedPipe_impl(PyObject *module, LPCTSTR name, DWORD open_mode,
LPSECURITY_ATTRIBUTES security_attributes); LPSECURITY_ATTRIBUTES security_attributes);
static PyObject * static PyObject *
_winapi_CreateNamedPipe(PyObject *module, PyObject **args, Py_ssize_t nargs) _winapi_CreateNamedPipe(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
LPCTSTR name; LPCTSTR name;
@ -262,7 +262,7 @@ static PyObject *
_winapi_CreatePipe_impl(PyObject *module, PyObject *pipe_attrs, DWORD size); _winapi_CreatePipe_impl(PyObject *module, PyObject *pipe_attrs, DWORD size);
static PyObject * static PyObject *
_winapi_CreatePipe(PyObject *module, PyObject **args, Py_ssize_t nargs) _winapi_CreatePipe(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *pipe_attrs; PyObject *pipe_attrs;
@ -306,7 +306,7 @@ _winapi_CreateProcess_impl(PyObject *module, Py_UNICODE *application_name,
PyObject *startup_info); PyObject *startup_info);
static PyObject * static PyObject *
_winapi_CreateProcess(PyObject *module, PyObject **args, Py_ssize_t nargs) _winapi_CreateProcess(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_UNICODE *application_name; Py_UNICODE *application_name;
@ -352,7 +352,7 @@ _winapi_DuplicateHandle_impl(PyObject *module, HANDLE source_process_handle,
DWORD options); DWORD options);
static PyObject * static PyObject *
_winapi_DuplicateHandle(PyObject *module, PyObject **args, Py_ssize_t nargs) _winapi_DuplicateHandle(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
HANDLE source_process_handle; HANDLE source_process_handle;
@ -611,7 +611,7 @@ _winapi_OpenProcess_impl(PyObject *module, DWORD desired_access,
BOOL inherit_handle, DWORD process_id); BOOL inherit_handle, DWORD process_id);
static PyObject * static PyObject *
_winapi_OpenProcess(PyObject *module, PyObject **args, Py_ssize_t nargs) _winapi_OpenProcess(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
DWORD desired_access; DWORD desired_access;
@ -648,7 +648,7 @@ static PyObject *
_winapi_PeekNamedPipe_impl(PyObject *module, HANDLE handle, int size); _winapi_PeekNamedPipe_impl(PyObject *module, HANDLE handle, int size);
static PyObject * static PyObject *
_winapi_PeekNamedPipe(PyObject *module, PyObject **args, Py_ssize_t nargs) _winapi_PeekNamedPipe(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
HANDLE handle; HANDLE handle;
@ -677,7 +677,7 @@ _winapi_ReadFile_impl(PyObject *module, HANDLE handle, int size,
int use_overlapped); int use_overlapped);
static PyObject * static PyObject *
_winapi_ReadFile(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) _winapi_ReadFile(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"handle", "size", "overlapped", NULL}; static const char * const _keywords[] = {"handle", "size", "overlapped", NULL};
@ -712,7 +712,7 @@ _winapi_SetNamedPipeHandleState_impl(PyObject *module, HANDLE named_pipe,
PyObject *collect_data_timeout); PyObject *collect_data_timeout);
static PyObject * static PyObject *
_winapi_SetNamedPipeHandleState(PyObject *module, PyObject **args, Py_ssize_t nargs) _winapi_SetNamedPipeHandleState(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
HANDLE named_pipe; HANDLE named_pipe;
@ -744,7 +744,7 @@ _winapi_TerminateProcess_impl(PyObject *module, HANDLE handle,
UINT exit_code); UINT exit_code);
static PyObject * static PyObject *
_winapi_TerminateProcess(PyObject *module, PyObject **args, Py_ssize_t nargs) _winapi_TerminateProcess(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
HANDLE handle; HANDLE handle;
@ -772,7 +772,7 @@ static PyObject *
_winapi_WaitNamedPipe_impl(PyObject *module, LPCTSTR name, DWORD timeout); _winapi_WaitNamedPipe_impl(PyObject *module, LPCTSTR name, DWORD timeout);
static PyObject * static PyObject *
_winapi_WaitNamedPipe(PyObject *module, PyObject **args, Py_ssize_t nargs) _winapi_WaitNamedPipe(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
LPCTSTR name; LPCTSTR name;
@ -802,7 +802,7 @@ _winapi_WaitForMultipleObjects_impl(PyObject *module, PyObject *handle_seq,
BOOL wait_flag, DWORD milliseconds); BOOL wait_flag, DWORD milliseconds);
static PyObject * static PyObject *
_winapi_WaitForMultipleObjects(PyObject *module, PyObject **args, Py_ssize_t nargs) _winapi_WaitForMultipleObjects(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *handle_seq; PyObject *handle_seq;
@ -837,7 +837,7 @@ _winapi_WaitForSingleObject_impl(PyObject *module, HANDLE handle,
DWORD milliseconds); DWORD milliseconds);
static PyObject * static PyObject *
_winapi_WaitForSingleObject(PyObject *module, PyObject **args, Py_ssize_t nargs) _winapi_WaitForSingleObject(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
HANDLE handle; HANDLE handle;
@ -871,7 +871,7 @@ _winapi_WriteFile_impl(PyObject *module, HANDLE handle, PyObject *buffer,
int use_overlapped); int use_overlapped);
static PyObject * static PyObject *
_winapi_WriteFile(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) _winapi_WriteFile(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"handle", "buffer", "overlapped", NULL}; static const char * const _keywords[] = {"handle", "buffer", "overlapped", NULL};
@ -907,4 +907,4 @@ _winapi_GetACP(PyObject *module, PyObject *Py_UNUSED(ignored))
{ {
return _winapi_GetACP_impl(module); return _winapi_GetACP_impl(module);
} }
/*[clinic end generated code: output=fd91c1ec286f0bf3 input=a9049054013a1b77]*/ /*[clinic end generated code: output=b9c00c323c9f4944 input=a9049054013a1b77]*/

View File

@ -71,7 +71,7 @@ static PyObject *
array_array_pop_impl(arrayobject *self, Py_ssize_t i); array_array_pop_impl(arrayobject *self, Py_ssize_t i);
static PyObject * static PyObject *
array_array_pop(arrayobject *self, PyObject **args, Py_ssize_t nargs) array_array_pop(arrayobject *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_ssize_t i = -1; Py_ssize_t i = -1;
@ -108,7 +108,7 @@ static PyObject *
array_array_insert_impl(arrayobject *self, Py_ssize_t i, PyObject *v); array_array_insert_impl(arrayobject *self, Py_ssize_t i, PyObject *v);
static PyObject * static PyObject *
array_array_insert(arrayobject *self, PyObject **args, Py_ssize_t nargs) array_array_insert(arrayobject *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_ssize_t i; Py_ssize_t i;
@ -206,7 +206,7 @@ static PyObject *
array_array_fromfile_impl(arrayobject *self, PyObject *f, Py_ssize_t n); array_array_fromfile_impl(arrayobject *self, PyObject *f, Py_ssize_t n);
static PyObject * static PyObject *
array_array_fromfile(arrayobject *self, PyObject **args, Py_ssize_t nargs) array_array_fromfile(arrayobject *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *f; PyObject *f;
@ -452,7 +452,7 @@ array__array_reconstructor_impl(PyObject *module, PyTypeObject *arraytype,
PyObject *items); PyObject *items);
static PyObject * static PyObject *
array__array_reconstructor(PyObject *module, PyObject **args, Py_ssize_t nargs) array__array_reconstructor(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyTypeObject *arraytype; PyTypeObject *arraytype;
@ -505,4 +505,4 @@ PyDoc_STRVAR(array_arrayiterator___setstate____doc__,
#define ARRAY_ARRAYITERATOR___SETSTATE___METHODDEF \ #define ARRAY_ARRAYITERATOR___SETSTATE___METHODDEF \
{"__setstate__", (PyCFunction)array_arrayiterator___setstate__, METH_O, array_arrayiterator___setstate____doc__}, {"__setstate__", (PyCFunction)array_arrayiterator___setstate__, METH_O, array_arrayiterator___setstate____doc__},
/*[clinic end generated code: output=c7dfe61312b236a9 input=a9049054013a1b77]*/ /*[clinic end generated code: output=1289bde2a095a712 input=a9049054013a1b77]*/

View File

@ -16,7 +16,7 @@ audioop_getsample_impl(PyObject *module, Py_buffer *fragment, int width,
Py_ssize_t index); Py_ssize_t index);
static PyObject * static PyObject *
audioop_getsample(PyObject *module, PyObject **args, Py_ssize_t nargs) audioop_getsample(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_buffer fragment = {NULL, NULL}; Py_buffer fragment = {NULL, NULL};
@ -51,7 +51,7 @@ static PyObject *
audioop_max_impl(PyObject *module, Py_buffer *fragment, int width); audioop_max_impl(PyObject *module, Py_buffer *fragment, int width);
static PyObject * static PyObject *
audioop_max(PyObject *module, PyObject **args, Py_ssize_t nargs) audioop_max(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_buffer fragment = {NULL, NULL}; Py_buffer fragment = {NULL, NULL};
@ -85,7 +85,7 @@ static PyObject *
audioop_minmax_impl(PyObject *module, Py_buffer *fragment, int width); audioop_minmax_impl(PyObject *module, Py_buffer *fragment, int width);
static PyObject * static PyObject *
audioop_minmax(PyObject *module, PyObject **args, Py_ssize_t nargs) audioop_minmax(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_buffer fragment = {NULL, NULL}; Py_buffer fragment = {NULL, NULL};
@ -119,7 +119,7 @@ static PyObject *
audioop_avg_impl(PyObject *module, Py_buffer *fragment, int width); audioop_avg_impl(PyObject *module, Py_buffer *fragment, int width);
static PyObject * static PyObject *
audioop_avg(PyObject *module, PyObject **args, Py_ssize_t nargs) audioop_avg(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_buffer fragment = {NULL, NULL}; Py_buffer fragment = {NULL, NULL};
@ -153,7 +153,7 @@ static PyObject *
audioop_rms_impl(PyObject *module, Py_buffer *fragment, int width); audioop_rms_impl(PyObject *module, Py_buffer *fragment, int width);
static PyObject * static PyObject *
audioop_rms(PyObject *module, PyObject **args, Py_ssize_t nargs) audioop_rms(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_buffer fragment = {NULL, NULL}; Py_buffer fragment = {NULL, NULL};
@ -188,7 +188,7 @@ audioop_findfit_impl(PyObject *module, Py_buffer *fragment,
Py_buffer *reference); Py_buffer *reference);
static PyObject * static PyObject *
audioop_findfit(PyObject *module, PyObject **args, Py_ssize_t nargs) audioop_findfit(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_buffer fragment = {NULL, NULL}; Py_buffer fragment = {NULL, NULL};
@ -227,7 +227,7 @@ audioop_findfactor_impl(PyObject *module, Py_buffer *fragment,
Py_buffer *reference); Py_buffer *reference);
static PyObject * static PyObject *
audioop_findfactor(PyObject *module, PyObject **args, Py_ssize_t nargs) audioop_findfactor(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_buffer fragment = {NULL, NULL}; Py_buffer fragment = {NULL, NULL};
@ -266,7 +266,7 @@ audioop_findmax_impl(PyObject *module, Py_buffer *fragment,
Py_ssize_t length); Py_ssize_t length);
static PyObject * static PyObject *
audioop_findmax(PyObject *module, PyObject **args, Py_ssize_t nargs) audioop_findmax(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_buffer fragment = {NULL, NULL}; Py_buffer fragment = {NULL, NULL};
@ -300,7 +300,7 @@ static PyObject *
audioop_avgpp_impl(PyObject *module, Py_buffer *fragment, int width); audioop_avgpp_impl(PyObject *module, Py_buffer *fragment, int width);
static PyObject * static PyObject *
audioop_avgpp(PyObject *module, PyObject **args, Py_ssize_t nargs) audioop_avgpp(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_buffer fragment = {NULL, NULL}; Py_buffer fragment = {NULL, NULL};
@ -334,7 +334,7 @@ static PyObject *
audioop_maxpp_impl(PyObject *module, Py_buffer *fragment, int width); audioop_maxpp_impl(PyObject *module, Py_buffer *fragment, int width);
static PyObject * static PyObject *
audioop_maxpp(PyObject *module, PyObject **args, Py_ssize_t nargs) audioop_maxpp(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_buffer fragment = {NULL, NULL}; Py_buffer fragment = {NULL, NULL};
@ -368,7 +368,7 @@ static PyObject *
audioop_cross_impl(PyObject *module, Py_buffer *fragment, int width); audioop_cross_impl(PyObject *module, Py_buffer *fragment, int width);
static PyObject * static PyObject *
audioop_cross(PyObject *module, PyObject **args, Py_ssize_t nargs) audioop_cross(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_buffer fragment = {NULL, NULL}; Py_buffer fragment = {NULL, NULL};
@ -403,7 +403,7 @@ audioop_mul_impl(PyObject *module, Py_buffer *fragment, int width,
double factor); double factor);
static PyObject * static PyObject *
audioop_mul(PyObject *module, PyObject **args, Py_ssize_t nargs) audioop_mul(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_buffer fragment = {NULL, NULL}; Py_buffer fragment = {NULL, NULL};
@ -439,7 +439,7 @@ audioop_tomono_impl(PyObject *module, Py_buffer *fragment, int width,
double lfactor, double rfactor); double lfactor, double rfactor);
static PyObject * static PyObject *
audioop_tomono(PyObject *module, PyObject **args, Py_ssize_t nargs) audioop_tomono(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_buffer fragment = {NULL, NULL}; Py_buffer fragment = {NULL, NULL};
@ -476,7 +476,7 @@ audioop_tostereo_impl(PyObject *module, Py_buffer *fragment, int width,
double lfactor, double rfactor); double lfactor, double rfactor);
static PyObject * static PyObject *
audioop_tostereo(PyObject *module, PyObject **args, Py_ssize_t nargs) audioop_tostereo(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_buffer fragment = {NULL, NULL}; Py_buffer fragment = {NULL, NULL};
@ -513,7 +513,7 @@ audioop_add_impl(PyObject *module, Py_buffer *fragment1,
Py_buffer *fragment2, int width); Py_buffer *fragment2, int width);
static PyObject * static PyObject *
audioop_add(PyObject *module, PyObject **args, Py_ssize_t nargs) audioop_add(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_buffer fragment1 = {NULL, NULL}; Py_buffer fragment1 = {NULL, NULL};
@ -552,7 +552,7 @@ static PyObject *
audioop_bias_impl(PyObject *module, Py_buffer *fragment, int width, int bias); audioop_bias_impl(PyObject *module, Py_buffer *fragment, int width, int bias);
static PyObject * static PyObject *
audioop_bias(PyObject *module, PyObject **args, Py_ssize_t nargs) audioop_bias(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_buffer fragment = {NULL, NULL}; Py_buffer fragment = {NULL, NULL};
@ -587,7 +587,7 @@ static PyObject *
audioop_reverse_impl(PyObject *module, Py_buffer *fragment, int width); audioop_reverse_impl(PyObject *module, Py_buffer *fragment, int width);
static PyObject * static PyObject *
audioop_reverse(PyObject *module, PyObject **args, Py_ssize_t nargs) audioop_reverse(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_buffer fragment = {NULL, NULL}; Py_buffer fragment = {NULL, NULL};
@ -621,7 +621,7 @@ static PyObject *
audioop_byteswap_impl(PyObject *module, Py_buffer *fragment, int width); audioop_byteswap_impl(PyObject *module, Py_buffer *fragment, int width);
static PyObject * static PyObject *
audioop_byteswap(PyObject *module, PyObject **args, Py_ssize_t nargs) audioop_byteswap(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_buffer fragment = {NULL, NULL}; Py_buffer fragment = {NULL, NULL};
@ -656,7 +656,7 @@ audioop_lin2lin_impl(PyObject *module, Py_buffer *fragment, int width,
int newwidth); int newwidth);
static PyObject * static PyObject *
audioop_lin2lin(PyObject *module, PyObject **args, Py_ssize_t nargs) audioop_lin2lin(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_buffer fragment = {NULL, NULL}; Py_buffer fragment = {NULL, NULL};
@ -694,7 +694,7 @@ audioop_ratecv_impl(PyObject *module, Py_buffer *fragment, int width,
int weightA, int weightB); int weightA, int weightB);
static PyObject * static PyObject *
audioop_ratecv(PyObject *module, PyObject **args, Py_ssize_t nargs) audioop_ratecv(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_buffer fragment = {NULL, NULL}; Py_buffer fragment = {NULL, NULL};
@ -734,7 +734,7 @@ static PyObject *
audioop_lin2ulaw_impl(PyObject *module, Py_buffer *fragment, int width); audioop_lin2ulaw_impl(PyObject *module, Py_buffer *fragment, int width);
static PyObject * static PyObject *
audioop_lin2ulaw(PyObject *module, PyObject **args, Py_ssize_t nargs) audioop_lin2ulaw(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_buffer fragment = {NULL, NULL}; Py_buffer fragment = {NULL, NULL};
@ -768,7 +768,7 @@ static PyObject *
audioop_ulaw2lin_impl(PyObject *module, Py_buffer *fragment, int width); audioop_ulaw2lin_impl(PyObject *module, Py_buffer *fragment, int width);
static PyObject * static PyObject *
audioop_ulaw2lin(PyObject *module, PyObject **args, Py_ssize_t nargs) audioop_ulaw2lin(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_buffer fragment = {NULL, NULL}; Py_buffer fragment = {NULL, NULL};
@ -802,7 +802,7 @@ static PyObject *
audioop_lin2alaw_impl(PyObject *module, Py_buffer *fragment, int width); audioop_lin2alaw_impl(PyObject *module, Py_buffer *fragment, int width);
static PyObject * static PyObject *
audioop_lin2alaw(PyObject *module, PyObject **args, Py_ssize_t nargs) audioop_lin2alaw(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_buffer fragment = {NULL, NULL}; Py_buffer fragment = {NULL, NULL};
@ -836,7 +836,7 @@ static PyObject *
audioop_alaw2lin_impl(PyObject *module, Py_buffer *fragment, int width); audioop_alaw2lin_impl(PyObject *module, Py_buffer *fragment, int width);
static PyObject * static PyObject *
audioop_alaw2lin(PyObject *module, PyObject **args, Py_ssize_t nargs) audioop_alaw2lin(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_buffer fragment = {NULL, NULL}; Py_buffer fragment = {NULL, NULL};
@ -871,7 +871,7 @@ audioop_lin2adpcm_impl(PyObject *module, Py_buffer *fragment, int width,
PyObject *state); PyObject *state);
static PyObject * static PyObject *
audioop_lin2adpcm(PyObject *module, PyObject **args, Py_ssize_t nargs) audioop_lin2adpcm(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_buffer fragment = {NULL, NULL}; Py_buffer fragment = {NULL, NULL};
@ -907,7 +907,7 @@ audioop_adpcm2lin_impl(PyObject *module, Py_buffer *fragment, int width,
PyObject *state); PyObject *state);
static PyObject * static PyObject *
audioop_adpcm2lin(PyObject *module, PyObject **args, Py_ssize_t nargs) audioop_adpcm2lin(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_buffer fragment = {NULL, NULL}; Py_buffer fragment = {NULL, NULL};
@ -928,4 +928,4 @@ exit:
return return_value; return return_value;
} }
/*[clinic end generated code: output=e2076026235d7f0f input=a9049054013a1b77]*/ /*[clinic end generated code: output=2f88b8827ee0aa9b input=a9049054013a1b77]*/

View File

@ -46,7 +46,7 @@ static PyObject *
binascii_b2a_uu_impl(PyObject *module, Py_buffer *data, int backtick); binascii_b2a_uu_impl(PyObject *module, Py_buffer *data, int backtick);
static PyObject * static PyObject *
binascii_b2a_uu(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) binascii_b2a_uu(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"", "backtick", NULL}; static const char * const _keywords[] = {"", "backtick", NULL};
@ -113,7 +113,7 @@ static PyObject *
binascii_b2a_base64_impl(PyObject *module, Py_buffer *data, int newline); binascii_b2a_base64_impl(PyObject *module, Py_buffer *data, int newline);
static PyObject * static PyObject *
binascii_b2a_base64(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) binascii_b2a_base64(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"", "newline", NULL}; static const char * const _keywords[] = {"", "newline", NULL};
@ -276,7 +276,7 @@ static unsigned int
binascii_crc_hqx_impl(PyObject *module, Py_buffer *data, unsigned int crc); binascii_crc_hqx_impl(PyObject *module, Py_buffer *data, unsigned int crc);
static PyObject * static PyObject *
binascii_crc_hqx(PyObject *module, PyObject **args, Py_ssize_t nargs) binascii_crc_hqx(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_buffer data = {NULL, NULL}; Py_buffer data = {NULL, NULL};
@ -315,7 +315,7 @@ static unsigned int
binascii_crc32_impl(PyObject *module, Py_buffer *data, unsigned int crc); binascii_crc32_impl(PyObject *module, Py_buffer *data, unsigned int crc);
static PyObject * static PyObject *
binascii_crc32(PyObject *module, PyObject **args, Py_ssize_t nargs) binascii_crc32(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_buffer data = {NULL, NULL}; Py_buffer data = {NULL, NULL};
@ -490,7 +490,7 @@ static PyObject *
binascii_a2b_qp_impl(PyObject *module, Py_buffer *data, int header); binascii_a2b_qp_impl(PyObject *module, Py_buffer *data, int header);
static PyObject * static PyObject *
binascii_a2b_qp(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) binascii_a2b_qp(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"data", "header", NULL}; static const char * const _keywords[] = {"data", "header", NULL};
@ -530,7 +530,7 @@ binascii_b2a_qp_impl(PyObject *module, Py_buffer *data, int quotetabs,
int istext, int header); int istext, int header);
static PyObject * static PyObject *
binascii_b2a_qp(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) binascii_b2a_qp(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"data", "quotetabs", "istext", "header", NULL}; static const char * const _keywords[] = {"data", "quotetabs", "istext", "header", NULL};
@ -554,4 +554,4 @@ exit:
return return_value; return return_value;
} }
/*[clinic end generated code: output=2878727c0cf4f636 input=a9049054013a1b77]*/ /*[clinic end generated code: output=815f1c453fd6568f input=a9049054013a1b77]*/

View File

@ -647,7 +647,7 @@ static PyObject *
cmath_log_impl(PyObject *module, Py_complex x, PyObject *y_obj); cmath_log_impl(PyObject *module, Py_complex x, PyObject *y_obj);
static PyObject * static PyObject *
cmath_log(PyObject *module, PyObject **args, Py_ssize_t nargs) cmath_log(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_complex x; Py_complex x;
@ -732,7 +732,7 @@ static PyObject *
cmath_rect_impl(PyObject *module, double r, double phi); cmath_rect_impl(PyObject *module, double r, double phi);
static PyObject * static PyObject *
cmath_rect(PyObject *module, PyObject **args, Py_ssize_t nargs) cmath_rect(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
double r; double r;
@ -858,7 +858,7 @@ cmath_isclose_impl(PyObject *module, Py_complex a, Py_complex b,
double rel_tol, double abs_tol); double rel_tol, double abs_tol);
static PyObject * static PyObject *
cmath_isclose(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) cmath_isclose(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"a", "b", "rel_tol", "abs_tol", NULL}; static const char * const _keywords[] = {"a", "b", "rel_tol", "abs_tol", NULL};
@ -882,4 +882,4 @@ cmath_isclose(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwn
exit: exit:
return return_value; return return_value;
} }
/*[clinic end generated code: output=51ba28d27d10264e input=a9049054013a1b77]*/ /*[clinic end generated code: output=dd93c3a6aeb42ebb input=a9049054013a1b77]*/

View File

@ -25,7 +25,7 @@ static PyObject *
fcntl_fcntl_impl(PyObject *module, int fd, int code, PyObject *arg); fcntl_fcntl_impl(PyObject *module, int fd, int code, PyObject *arg);
static PyObject * static PyObject *
fcntl_fcntl(PyObject *module, PyObject **args, Py_ssize_t nargs) fcntl_fcntl(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
int fd; int fd;
@ -83,7 +83,7 @@ fcntl_ioctl_impl(PyObject *module, int fd, unsigned int code,
PyObject *ob_arg, int mutate_arg); PyObject *ob_arg, int mutate_arg);
static PyObject * static PyObject *
fcntl_ioctl(PyObject *module, PyObject **args, Py_ssize_t nargs) fcntl_ioctl(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
int fd; int fd;
@ -117,7 +117,7 @@ static PyObject *
fcntl_flock_impl(PyObject *module, int fd, int code); fcntl_flock_impl(PyObject *module, int fd, int code);
static PyObject * static PyObject *
fcntl_flock(PyObject *module, PyObject **args, Py_ssize_t nargs) fcntl_flock(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
int fd; int fd;
@ -168,7 +168,7 @@ fcntl_lockf_impl(PyObject *module, int fd, int code, PyObject *lenobj,
PyObject *startobj, int whence); PyObject *startobj, int whence);
static PyObject * static PyObject *
fcntl_lockf(PyObject *module, PyObject **args, Py_ssize_t nargs) fcntl_lockf(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
int fd; int fd;
@ -186,4 +186,4 @@ fcntl_lockf(PyObject *module, PyObject **args, Py_ssize_t nargs)
exit: exit:
return return_value; return return_value;
} }
/*[clinic end generated code: output=6105e3ada306f434 input=a9049054013a1b77]*/ /*[clinic end generated code: output=2f6e70ae67ec8ac9 input=a9049054013a1b77]*/

View File

@ -85,7 +85,7 @@ static Py_ssize_t
gc_collect_impl(PyObject *module, int generation); gc_collect_impl(PyObject *module, int generation);
static PyObject * static PyObject *
gc_collect(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) gc_collect(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"generation", NULL}; static const char * const _keywords[] = {"generation", NULL};
@ -325,4 +325,4 @@ gc_get_freeze_count(PyObject *module, PyObject *Py_UNUSED(ignored))
exit: exit:
return return_value; return return_value;
} }
/*[clinic end generated code: output=4f41ec4588154f2b input=a9049054013a1b77]*/ /*[clinic end generated code: output=6f9ee4d8dd1f36c1 input=a9049054013a1b77]*/

View File

@ -17,7 +17,7 @@ static PyObject *
grp_getgrgid_impl(PyObject *module, PyObject *id); grp_getgrgid_impl(PyObject *module, PyObject *id);
static PyObject * static PyObject *
grp_getgrgid(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) grp_getgrgid(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"id", NULL}; static const char * const _keywords[] = {"id", NULL};
@ -49,7 +49,7 @@ static PyObject *
grp_getgrnam_impl(PyObject *module, PyObject *name); grp_getgrnam_impl(PyObject *module, PyObject *name);
static PyObject * static PyObject *
grp_getgrnam(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) grp_getgrnam(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"name", NULL}; static const char * const _keywords[] = {"name", NULL};
@ -86,4 +86,4 @@ grp_getgrall(PyObject *module, PyObject *Py_UNUSED(ignored))
{ {
return grp_getgrall_impl(module); return grp_getgrall_impl(module);
} }
/*[clinic end generated code: output=e7ef2cbc437eedcb input=a9049054013a1b77]*/ /*[clinic end generated code: output=0ccba09e8ec14c81 input=a9049054013a1b77]*/

View File

@ -15,7 +15,7 @@ static PyObject *
math_gcd_impl(PyObject *module, PyObject *a, PyObject *b); math_gcd_impl(PyObject *module, PyObject *a, PyObject *b);
static PyObject * static PyObject *
math_gcd(PyObject *module, PyObject **args, Py_ssize_t nargs) math_gcd(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *a; PyObject *a;
@ -132,7 +132,7 @@ static PyObject *
math_ldexp_impl(PyObject *module, double x, PyObject *i); math_ldexp_impl(PyObject *module, double x, PyObject *i);
static PyObject * static PyObject *
math_ldexp(PyObject *module, PyObject **args, Py_ssize_t nargs) math_ldexp(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
double x; double x;
@ -253,7 +253,7 @@ static PyObject *
math_fmod_impl(PyObject *module, double x, double y); math_fmod_impl(PyObject *module, double x, double y);
static PyObject * static PyObject *
math_fmod(PyObject *module, PyObject **args, Py_ssize_t nargs) math_fmod(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
double x; double x;
@ -282,7 +282,7 @@ static PyObject *
math_hypot_impl(PyObject *module, double x, double y); math_hypot_impl(PyObject *module, double x, double y);
static PyObject * static PyObject *
math_hypot(PyObject *module, PyObject **args, Py_ssize_t nargs) math_hypot(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
double x; double x;
@ -311,7 +311,7 @@ static PyObject *
math_pow_impl(PyObject *module, double x, double y); math_pow_impl(PyObject *module, double x, double y);
static PyObject * static PyObject *
math_pow(PyObject *module, PyObject **args, Py_ssize_t nargs) math_pow(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
double x; double x;
@ -492,7 +492,7 @@ math_isclose_impl(PyObject *module, double a, double b, double rel_tol,
double abs_tol); double abs_tol);
static PyObject * static PyObject *
math_isclose(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) math_isclose(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"a", "b", "rel_tol", "abs_tol", NULL}; static const char * const _keywords[] = {"a", "b", "rel_tol", "abs_tol", NULL};
@ -516,4 +516,4 @@ math_isclose(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwna
exit: exit:
return return_value; return return_value;
} }
/*[clinic end generated code: output=d9bfbd645d273209 input=a9049054013a1b77]*/ /*[clinic end generated code: output=e554bad553045546 input=a9049054013a1b77]*/

View File

@ -78,7 +78,7 @@ static PyObject *
_md5_md5_impl(PyObject *module, PyObject *string); _md5_md5_impl(PyObject *module, PyObject *string);
static PyObject * static PyObject *
_md5_md5(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) _md5_md5(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"string", NULL}; static const char * const _keywords[] = {"string", NULL};
@ -94,4 +94,4 @@ _md5_md5(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames)
exit: exit:
return return_value; return return_value;
} }
/*[clinic end generated code: output=3139ae340ad1ea4e input=a9049054013a1b77]*/ /*[clinic end generated code: output=50a95670913de8fb input=a9049054013a1b77]*/

View File

@ -34,7 +34,7 @@ static PyObject *
os_stat_impl(PyObject *module, path_t *path, int dir_fd, int follow_symlinks); os_stat_impl(PyObject *module, path_t *path, int dir_fd, int follow_symlinks);
static PyObject * static PyObject *
os_stat(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) os_stat(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"path", "dir_fd", "follow_symlinks", NULL}; static const char * const _keywords[] = {"path", "dir_fd", "follow_symlinks", NULL};
@ -72,7 +72,7 @@ static PyObject *
os_lstat_impl(PyObject *module, path_t *path, int dir_fd); os_lstat_impl(PyObject *module, path_t *path, int dir_fd);
static PyObject * static PyObject *
os_lstat(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) os_lstat(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"path", "dir_fd", NULL}; static const char * const _keywords[] = {"path", "dir_fd", NULL};
@ -133,7 +133,7 @@ os_access_impl(PyObject *module, path_t *path, int mode, int dir_fd,
int effective_ids, int follow_symlinks); int effective_ids, int follow_symlinks);
static PyObject * static PyObject *
os_access(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) os_access(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"path", "mode", "dir_fd", "effective_ids", "follow_symlinks", NULL}; static const char * const _keywords[] = {"path", "mode", "dir_fd", "effective_ids", "follow_symlinks", NULL};
@ -240,7 +240,7 @@ static PyObject *
os_chdir_impl(PyObject *module, path_t *path); os_chdir_impl(PyObject *module, path_t *path);
static PyObject * static PyObject *
os_chdir(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) os_chdir(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"path", NULL}; static const char * const _keywords[] = {"path", NULL};
@ -278,7 +278,7 @@ static PyObject *
os_fchdir_impl(PyObject *module, int fd); os_fchdir_impl(PyObject *module, int fd);
static PyObject * static PyObject *
os_fchdir(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) os_fchdir(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"fd", NULL}; static const char * const _keywords[] = {"fd", NULL};
@ -331,7 +331,7 @@ os_chmod_impl(PyObject *module, path_t *path, int mode, int dir_fd,
int follow_symlinks); int follow_symlinks);
static PyObject * static PyObject *
os_chmod(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) os_chmod(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"path", "mode", "dir_fd", "follow_symlinks", NULL}; static const char * const _keywords[] = {"path", "mode", "dir_fd", "follow_symlinks", NULL};
@ -371,7 +371,7 @@ static PyObject *
os_fchmod_impl(PyObject *module, int fd, int mode); os_fchmod_impl(PyObject *module, int fd, int mode);
static PyObject * static PyObject *
os_fchmod(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) os_fchmod(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"fd", "mode", NULL}; static const char * const _keywords[] = {"fd", "mode", NULL};
@ -409,7 +409,7 @@ static PyObject *
os_lchmod_impl(PyObject *module, path_t *path, int mode); os_lchmod_impl(PyObject *module, path_t *path, int mode);
static PyObject * static PyObject *
os_lchmod(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) os_lchmod(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"path", "mode", NULL}; static const char * const _keywords[] = {"path", "mode", NULL};
@ -454,7 +454,7 @@ os_chflags_impl(PyObject *module, path_t *path, unsigned long flags,
int follow_symlinks); int follow_symlinks);
static PyObject * static PyObject *
os_chflags(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) os_chflags(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"path", "flags", "follow_symlinks", NULL}; static const char * const _keywords[] = {"path", "flags", "follow_symlinks", NULL};
@ -496,7 +496,7 @@ static PyObject *
os_lchflags_impl(PyObject *module, path_t *path, unsigned long flags); os_lchflags_impl(PyObject *module, path_t *path, unsigned long flags);
static PyObject * static PyObject *
os_lchflags(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) os_lchflags(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"path", "flags", NULL}; static const char * const _keywords[] = {"path", "flags", NULL};
@ -534,7 +534,7 @@ static PyObject *
os_chroot_impl(PyObject *module, path_t *path); os_chroot_impl(PyObject *module, path_t *path);
static PyObject * static PyObject *
os_chroot(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) os_chroot(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"path", NULL}; static const char * const _keywords[] = {"path", NULL};
@ -571,7 +571,7 @@ static PyObject *
os_fsync_impl(PyObject *module, int fd); os_fsync_impl(PyObject *module, int fd);
static PyObject * static PyObject *
os_fsync(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) os_fsync(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"fd", NULL}; static const char * const _keywords[] = {"fd", NULL};
@ -627,7 +627,7 @@ static PyObject *
os_fdatasync_impl(PyObject *module, int fd); os_fdatasync_impl(PyObject *module, int fd);
static PyObject * static PyObject *
os_fdatasync(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) os_fdatasync(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"fd", NULL}; static const char * const _keywords[] = {"fd", NULL};
@ -686,7 +686,7 @@ os_chown_impl(PyObject *module, path_t *path, uid_t uid, gid_t gid,
int dir_fd, int follow_symlinks); int dir_fd, int follow_symlinks);
static PyObject * static PyObject *
os_chown(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) os_chown(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"path", "uid", "gid", "dir_fd", "follow_symlinks", NULL}; static const char * const _keywords[] = {"path", "uid", "gid", "dir_fd", "follow_symlinks", NULL};
@ -729,7 +729,7 @@ static PyObject *
os_fchown_impl(PyObject *module, int fd, uid_t uid, gid_t gid); os_fchown_impl(PyObject *module, int fd, uid_t uid, gid_t gid);
static PyObject * static PyObject *
os_fchown(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) os_fchown(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"fd", "uid", "gid", NULL}; static const char * const _keywords[] = {"fd", "uid", "gid", NULL};
@ -768,7 +768,7 @@ static PyObject *
os_lchown_impl(PyObject *module, path_t *path, uid_t uid, gid_t gid); os_lchown_impl(PyObject *module, path_t *path, uid_t uid, gid_t gid);
static PyObject * static PyObject *
os_lchown(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) os_lchown(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"path", "uid", "gid", NULL}; static const char * const _keywords[] = {"path", "uid", "gid", NULL};
@ -855,7 +855,7 @@ os_link_impl(PyObject *module, path_t *src, path_t *dst, int src_dir_fd,
int dst_dir_fd, int follow_symlinks); int dst_dir_fd, int follow_symlinks);
static PyObject * static PyObject *
os_link(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) os_link(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"src", "dst", "src_dir_fd", "dst_dir_fd", "follow_symlinks", NULL}; static const char * const _keywords[] = {"src", "dst", "src_dir_fd", "dst_dir_fd", "follow_symlinks", NULL};
@ -907,7 +907,7 @@ static PyObject *
os_listdir_impl(PyObject *module, path_t *path); os_listdir_impl(PyObject *module, path_t *path);
static PyObject * static PyObject *
os_listdir(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) os_listdir(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"path", NULL}; static const char * const _keywords[] = {"path", NULL};
@ -1040,7 +1040,7 @@ static PyObject *
os__getvolumepathname_impl(PyObject *module, PyObject *path); os__getvolumepathname_impl(PyObject *module, PyObject *path);
static PyObject * static PyObject *
os__getvolumepathname(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) os__getvolumepathname(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"path", NULL}; static const char * const _keywords[] = {"path", NULL};
@ -1079,7 +1079,7 @@ static PyObject *
os_mkdir_impl(PyObject *module, path_t *path, int mode, int dir_fd); os_mkdir_impl(PyObject *module, path_t *path, int mode, int dir_fd);
static PyObject * static PyObject *
os_mkdir(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) os_mkdir(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"path", "mode", "dir_fd", NULL}; static const char * const _keywords[] = {"path", "mode", "dir_fd", NULL};
@ -1147,7 +1147,7 @@ static PyObject *
os_getpriority_impl(PyObject *module, int which, int who); os_getpriority_impl(PyObject *module, int which, int who);
static PyObject * static PyObject *
os_getpriority(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) os_getpriority(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"which", "who", NULL}; static const char * const _keywords[] = {"which", "who", NULL};
@ -1182,7 +1182,7 @@ static PyObject *
os_setpriority_impl(PyObject *module, int which, int who, int priority); os_setpriority_impl(PyObject *module, int which, int who, int priority);
static PyObject * static PyObject *
os_setpriority(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) os_setpriority(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"which", "who", "priority", NULL}; static const char * const _keywords[] = {"which", "who", "priority", NULL};
@ -1223,7 +1223,7 @@ os_rename_impl(PyObject *module, path_t *src, path_t *dst, int src_dir_fd,
int dst_dir_fd); int dst_dir_fd);
static PyObject * static PyObject *
os_rename(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) os_rename(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"src", "dst", "src_dir_fd", "dst_dir_fd", NULL}; static const char * const _keywords[] = {"src", "dst", "src_dir_fd", "dst_dir_fd", NULL};
@ -1268,7 +1268,7 @@ os_replace_impl(PyObject *module, path_t *src, path_t *dst, int src_dir_fd,
int dst_dir_fd); int dst_dir_fd);
static PyObject * static PyObject *
os_replace(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) os_replace(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"src", "dst", "src_dir_fd", "dst_dir_fd", NULL}; static const char * const _keywords[] = {"src", "dst", "src_dir_fd", "dst_dir_fd", NULL};
@ -1311,7 +1311,7 @@ static PyObject *
os_rmdir_impl(PyObject *module, path_t *path, int dir_fd); os_rmdir_impl(PyObject *module, path_t *path, int dir_fd);
static PyObject * static PyObject *
os_rmdir(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) os_rmdir(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"path", "dir_fd", NULL}; static const char * const _keywords[] = {"path", "dir_fd", NULL};
@ -1347,7 +1347,7 @@ static long
os_system_impl(PyObject *module, Py_UNICODE *command); os_system_impl(PyObject *module, Py_UNICODE *command);
static PyObject * static PyObject *
os_system(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) os_system(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"command", NULL}; static const char * const _keywords[] = {"command", NULL};
@ -1386,7 +1386,7 @@ static long
os_system_impl(PyObject *module, PyObject *command); os_system_impl(PyObject *module, PyObject *command);
static PyObject * static PyObject *
os_system(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) os_system(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"command", NULL}; static const char * const _keywords[] = {"command", NULL};
@ -1458,7 +1458,7 @@ static PyObject *
os_unlink_impl(PyObject *module, path_t *path, int dir_fd); os_unlink_impl(PyObject *module, path_t *path, int dir_fd);
static PyObject * static PyObject *
os_unlink(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) os_unlink(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"path", "dir_fd", NULL}; static const char * const _keywords[] = {"path", "dir_fd", NULL};
@ -1497,7 +1497,7 @@ static PyObject *
os_remove_impl(PyObject *module, path_t *path, int dir_fd); os_remove_impl(PyObject *module, path_t *path, int dir_fd);
static PyObject * static PyObject *
os_remove(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) os_remove(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"path", "dir_fd", NULL}; static const char * const _keywords[] = {"path", "dir_fd", NULL};
@ -1580,7 +1580,7 @@ os_utime_impl(PyObject *module, path_t *path, PyObject *times, PyObject *ns,
int dir_fd, int follow_symlinks); int dir_fd, int follow_symlinks);
static PyObject * static PyObject *
os_utime(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) os_utime(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"path", "times", "ns", "dir_fd", "follow_symlinks", NULL}; static const char * const _keywords[] = {"path", "times", "ns", "dir_fd", "follow_symlinks", NULL};
@ -1617,7 +1617,7 @@ static PyObject *
os__exit_impl(PyObject *module, int status); os__exit_impl(PyObject *module, int status);
static PyObject * static PyObject *
os__exit(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) os__exit(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"status", NULL}; static const char * const _keywords[] = {"status", NULL};
@ -1654,7 +1654,7 @@ static PyObject *
os_execv_impl(PyObject *module, path_t *path, PyObject *argv); os_execv_impl(PyObject *module, path_t *path, PyObject *argv);
static PyObject * static PyObject *
os_execv(PyObject *module, PyObject **args, Py_ssize_t nargs) os_execv(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
path_t path = PATH_T_INITIALIZE("execv", "path", 0, 0); path_t path = PATH_T_INITIALIZE("execv", "path", 0, 0);
@ -1697,7 +1697,7 @@ static PyObject *
os_execve_impl(PyObject *module, path_t *path, PyObject *argv, PyObject *env); os_execve_impl(PyObject *module, path_t *path, PyObject *argv, PyObject *env);
static PyObject * static PyObject *
os_execve(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) os_execve(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"path", "argv", "env", NULL}; static const char * const _keywords[] = {"path", "argv", "env", NULL};
@ -1743,7 +1743,7 @@ static PyObject *
os_spawnv_impl(PyObject *module, int mode, path_t *path, PyObject *argv); os_spawnv_impl(PyObject *module, int mode, path_t *path, PyObject *argv);
static PyObject * static PyObject *
os_spawnv(PyObject *module, PyObject **args, Py_ssize_t nargs) os_spawnv(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
int mode; int mode;
@ -1790,7 +1790,7 @@ os_spawnve_impl(PyObject *module, int mode, path_t *path, PyObject *argv,
PyObject *env); PyObject *env);
static PyObject * static PyObject *
os_spawnve(PyObject *module, PyObject **args, Py_ssize_t nargs) os_spawnve(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
int mode; int mode;
@ -1840,7 +1840,7 @@ os_register_at_fork_impl(PyObject *module, PyObject *before,
PyObject *after_in_child, PyObject *after_in_parent); PyObject *after_in_child, PyObject *after_in_parent);
static PyObject * static PyObject *
os_register_at_fork(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) os_register_at_fork(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"before", "after_in_child", "after_in_parent", NULL}; static const char * const _keywords[] = {"before", "after_in_child", "after_in_parent", NULL};
@ -1924,7 +1924,7 @@ static PyObject *
os_sched_get_priority_max_impl(PyObject *module, int policy); os_sched_get_priority_max_impl(PyObject *module, int policy);
static PyObject * static PyObject *
os_sched_get_priority_max(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) os_sched_get_priority_max(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"policy", NULL}; static const char * const _keywords[] = {"policy", NULL};
@ -1958,7 +1958,7 @@ static PyObject *
os_sched_get_priority_min_impl(PyObject *module, int policy); os_sched_get_priority_min_impl(PyObject *module, int policy);
static PyObject * static PyObject *
os_sched_get_priority_min(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) os_sched_get_priority_min(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"policy", NULL}; static const char * const _keywords[] = {"policy", NULL};
@ -2063,7 +2063,7 @@ os_sched_setscheduler_impl(PyObject *module, pid_t pid, int policy,
struct sched_param *param); struct sched_param *param);
static PyObject * static PyObject *
os_sched_setscheduler(PyObject *module, PyObject **args, Py_ssize_t nargs) os_sched_setscheduler(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
pid_t pid; pid_t pid;
@ -2135,7 +2135,7 @@ os_sched_setparam_impl(PyObject *module, pid_t pid,
struct sched_param *param); struct sched_param *param);
static PyObject * static PyObject *
os_sched_setparam(PyObject *module, PyObject **args, Py_ssize_t nargs) os_sched_setparam(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
pid_t pid; pid_t pid;
@ -2230,7 +2230,7 @@ static PyObject *
os_sched_setaffinity_impl(PyObject *module, pid_t pid, PyObject *mask); os_sched_setaffinity_impl(PyObject *module, pid_t pid, PyObject *mask);
static PyObject * static PyObject *
os_sched_setaffinity(PyObject *module, PyObject **args, Py_ssize_t nargs) os_sched_setaffinity(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
pid_t pid; pid_t pid;
@ -2458,7 +2458,7 @@ static PyObject *
os_getpgid_impl(PyObject *module, pid_t pid); os_getpgid_impl(PyObject *module, pid_t pid);
static PyObject * static PyObject *
os_getpgid(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) os_getpgid(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"pid", NULL}; static const char * const _keywords[] = {"pid", NULL};
@ -2605,7 +2605,7 @@ static PyObject *
os_kill_impl(PyObject *module, pid_t pid, Py_ssize_t signal); os_kill_impl(PyObject *module, pid_t pid, Py_ssize_t signal);
static PyObject * static PyObject *
os_kill(PyObject *module, PyObject **args, Py_ssize_t nargs) os_kill(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
pid_t pid; pid_t pid;
@ -2638,7 +2638,7 @@ static PyObject *
os_killpg_impl(PyObject *module, pid_t pgid, int signal); os_killpg_impl(PyObject *module, pid_t pgid, int signal);
static PyObject * static PyObject *
os_killpg(PyObject *module, PyObject **args, Py_ssize_t nargs) os_killpg(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
pid_t pgid; pid_t pgid;
@ -2795,7 +2795,7 @@ static PyObject *
os_setreuid_impl(PyObject *module, uid_t ruid, uid_t euid); os_setreuid_impl(PyObject *module, uid_t ruid, uid_t euid);
static PyObject * static PyObject *
os_setreuid(PyObject *module, PyObject **args, Py_ssize_t nargs) os_setreuid(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
uid_t ruid; uid_t ruid;
@ -2828,7 +2828,7 @@ static PyObject *
os_setregid_impl(PyObject *module, gid_t rgid, gid_t egid); os_setregid_impl(PyObject *module, gid_t rgid, gid_t egid);
static PyObject * static PyObject *
os_setregid(PyObject *module, PyObject **args, Py_ssize_t nargs) os_setregid(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
gid_t rgid; gid_t rgid;
@ -2908,7 +2908,7 @@ static PyObject *
os_wait3_impl(PyObject *module, int options); os_wait3_impl(PyObject *module, int options);
static PyObject * static PyObject *
os_wait3(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) os_wait3(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"options", NULL}; static const char * const _keywords[] = {"options", NULL};
@ -2945,7 +2945,7 @@ static PyObject *
os_wait4_impl(PyObject *module, pid_t pid, int options); os_wait4_impl(PyObject *module, pid_t pid, int options);
static PyObject * static PyObject *
os_wait4(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) os_wait4(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"pid", "options", NULL}; static const char * const _keywords[] = {"pid", "options", NULL};
@ -2991,7 +2991,7 @@ static PyObject *
os_waitid_impl(PyObject *module, idtype_t idtype, id_t id, int options); os_waitid_impl(PyObject *module, idtype_t idtype, id_t id, int options);
static PyObject * static PyObject *
os_waitid(PyObject *module, PyObject **args, Py_ssize_t nargs) os_waitid(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
idtype_t idtype; idtype_t idtype;
@ -3030,7 +3030,7 @@ static PyObject *
os_waitpid_impl(PyObject *module, pid_t pid, int options); os_waitpid_impl(PyObject *module, pid_t pid, int options);
static PyObject * static PyObject *
os_waitpid(PyObject *module, PyObject **args, Py_ssize_t nargs) os_waitpid(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
pid_t pid; pid_t pid;
@ -3068,7 +3068,7 @@ static PyObject *
os_waitpid_impl(PyObject *module, intptr_t pid, int options); os_waitpid_impl(PyObject *module, intptr_t pid, int options);
static PyObject * static PyObject *
os_waitpid(PyObject *module, PyObject **args, Py_ssize_t nargs) os_waitpid(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
intptr_t pid; intptr_t pid;
@ -3137,7 +3137,7 @@ os_symlink_impl(PyObject *module, path_t *src, path_t *dst,
int target_is_directory, int dir_fd); int target_is_directory, int dir_fd);
static PyObject * static PyObject *
os_symlink(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) os_symlink(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"src", "dst", "target_is_directory", "dir_fd", NULL}; static const char * const _keywords[] = {"src", "dst", "target_is_directory", "dir_fd", NULL};
@ -3258,7 +3258,7 @@ static PyObject *
os_setpgid_impl(PyObject *module, pid_t pid, pid_t pgrp); os_setpgid_impl(PyObject *module, pid_t pid, pid_t pgrp);
static PyObject * static PyObject *
os_setpgid(PyObject *module, PyObject **args, Py_ssize_t nargs) os_setpgid(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
pid_t pid; pid_t pid;
@ -3322,7 +3322,7 @@ static PyObject *
os_tcsetpgrp_impl(PyObject *module, int fd, pid_t pgid); os_tcsetpgrp_impl(PyObject *module, int fd, pid_t pgid);
static PyObject * static PyObject *
os_tcsetpgrp(PyObject *module, PyObject **args, Py_ssize_t nargs) os_tcsetpgrp(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
int fd; int fd;
@ -3358,7 +3358,7 @@ static int
os_open_impl(PyObject *module, path_t *path, int flags, int mode, int dir_fd); os_open_impl(PyObject *module, path_t *path, int flags, int mode, int dir_fd);
static PyObject * static PyObject *
os_open(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) os_open(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"path", "flags", "mode", "dir_fd", NULL}; static const char * const _keywords[] = {"path", "flags", "mode", "dir_fd", NULL};
@ -3399,7 +3399,7 @@ static PyObject *
os_close_impl(PyObject *module, int fd); os_close_impl(PyObject *module, int fd);
static PyObject * static PyObject *
os_close(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) os_close(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"fd", NULL}; static const char * const _keywords[] = {"fd", NULL};
@ -3429,7 +3429,7 @@ static PyObject *
os_closerange_impl(PyObject *module, int fd_low, int fd_high); os_closerange_impl(PyObject *module, int fd_low, int fd_high);
static PyObject * static PyObject *
os_closerange(PyObject *module, PyObject **args, Py_ssize_t nargs) os_closerange(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
int fd_low; int fd_low;
@ -3490,7 +3490,7 @@ static PyObject *
os_dup2_impl(PyObject *module, int fd, int fd2, int inheritable); os_dup2_impl(PyObject *module, int fd, int fd2, int inheritable);
static PyObject * static PyObject *
os_dup2(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) os_dup2(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"fd", "fd2", "inheritable", NULL}; static const char * const _keywords[] = {"fd", "fd2", "inheritable", NULL};
@ -3531,7 +3531,7 @@ static PyObject *
os_lockf_impl(PyObject *module, int fd, int command, Py_off_t length); os_lockf_impl(PyObject *module, int fd, int command, Py_off_t length);
static PyObject * static PyObject *
os_lockf(PyObject *module, PyObject **args, Py_ssize_t nargs) os_lockf(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
int fd; int fd;
@ -3566,7 +3566,7 @@ static Py_off_t
os_lseek_impl(PyObject *module, int fd, Py_off_t position, int how); os_lseek_impl(PyObject *module, int fd, Py_off_t position, int how);
static PyObject * static PyObject *
os_lseek(PyObject *module, PyObject **args, Py_ssize_t nargs) os_lseek(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
int fd; int fd;
@ -3601,7 +3601,7 @@ static PyObject *
os_read_impl(PyObject *module, int fd, Py_ssize_t length); os_read_impl(PyObject *module, int fd, Py_ssize_t length);
static PyObject * static PyObject *
os_read(PyObject *module, PyObject **args, Py_ssize_t nargs) os_read(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
int fd; int fd;
@ -3640,7 +3640,7 @@ static Py_ssize_t
os_readv_impl(PyObject *module, int fd, PyObject *buffers); os_readv_impl(PyObject *module, int fd, PyObject *buffers);
static PyObject * static PyObject *
os_readv(PyObject *module, PyObject **args, Py_ssize_t nargs) os_readv(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
int fd; int fd;
@ -3681,7 +3681,7 @@ static PyObject *
os_pread_impl(PyObject *module, int fd, int length, Py_off_t offset); os_pread_impl(PyObject *module, int fd, int length, Py_off_t offset);
static PyObject * static PyObject *
os_pread(PyObject *module, PyObject **args, Py_ssize_t nargs) os_pread(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
int fd; int fd;
@ -3713,7 +3713,7 @@ static Py_ssize_t
os_write_impl(PyObject *module, int fd, Py_buffer *data); os_write_impl(PyObject *module, int fd, Py_buffer *data);
static PyObject * static PyObject *
os_write(PyObject *module, PyObject **args, Py_ssize_t nargs) os_write(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
int fd; int fd;
@ -3755,7 +3755,7 @@ static PyObject *
os_fstat_impl(PyObject *module, int fd); os_fstat_impl(PyObject *module, int fd);
static PyObject * static PyObject *
os_fstat(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) os_fstat(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"fd", NULL}; static const char * const _keywords[] = {"fd", NULL};
@ -3887,7 +3887,7 @@ static Py_ssize_t
os_writev_impl(PyObject *module, int fd, PyObject *buffers); os_writev_impl(PyObject *module, int fd, PyObject *buffers);
static PyObject * static PyObject *
os_writev(PyObject *module, PyObject **args, Py_ssize_t nargs) os_writev(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
int fd; int fd;
@ -3929,7 +3929,7 @@ static Py_ssize_t
os_pwrite_impl(PyObject *module, int fd, Py_buffer *buffer, Py_off_t offset); os_pwrite_impl(PyObject *module, int fd, Py_buffer *buffer, Py_off_t offset);
static PyObject * static PyObject *
os_pwrite(PyObject *module, PyObject **args, Py_ssize_t nargs) os_pwrite(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
int fd; int fd;
@ -3978,7 +3978,7 @@ static PyObject *
os_mkfifo_impl(PyObject *module, path_t *path, int mode, int dir_fd); os_mkfifo_impl(PyObject *module, path_t *path, int mode, int dir_fd);
static PyObject * static PyObject *
os_mkfifo(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) os_mkfifo(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"path", "mode", "dir_fd", NULL}; static const char * const _keywords[] = {"path", "mode", "dir_fd", NULL};
@ -4030,7 +4030,7 @@ os_mknod_impl(PyObject *module, path_t *path, int mode, dev_t device,
int dir_fd); int dir_fd);
static PyObject * static PyObject *
os_mknod(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) os_mknod(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"path", "mode", "device", "dir_fd", NULL}; static const char * const _keywords[] = {"path", "mode", "device", "dir_fd", NULL};
@ -4142,7 +4142,7 @@ static dev_t
os_makedev_impl(PyObject *module, int major, int minor); os_makedev_impl(PyObject *module, int major, int minor);
static PyObject * static PyObject *
os_makedev(PyObject *module, PyObject **args, Py_ssize_t nargs) os_makedev(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
int major; int major;
@ -4180,7 +4180,7 @@ static PyObject *
os_ftruncate_impl(PyObject *module, int fd, Py_off_t length); os_ftruncate_impl(PyObject *module, int fd, Py_off_t length);
static PyObject * static PyObject *
os_ftruncate(PyObject *module, PyObject **args, Py_ssize_t nargs) os_ftruncate(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
int fd; int fd;
@ -4216,7 +4216,7 @@ static PyObject *
os_truncate_impl(PyObject *module, path_t *path, Py_off_t length); os_truncate_impl(PyObject *module, path_t *path, Py_off_t length);
static PyObject * static PyObject *
os_truncate(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) os_truncate(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"path", "length", NULL}; static const char * const _keywords[] = {"path", "length", NULL};
@ -4258,7 +4258,7 @@ os_posix_fallocate_impl(PyObject *module, int fd, Py_off_t offset,
Py_off_t length); Py_off_t length);
static PyObject * static PyObject *
os_posix_fallocate(PyObject *module, PyObject **args, Py_ssize_t nargs) os_posix_fallocate(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
int fd; int fd;
@ -4301,7 +4301,7 @@ os_posix_fadvise_impl(PyObject *module, int fd, Py_off_t offset,
Py_off_t length, int advice); Py_off_t length, int advice);
static PyObject * static PyObject *
os_posix_fadvise(PyObject *module, PyObject **args, Py_ssize_t nargs) os_posix_fadvise(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
int fd; int fd;
@ -4336,7 +4336,7 @@ static PyObject *
os_putenv_impl(PyObject *module, PyObject *name, PyObject *value); os_putenv_impl(PyObject *module, PyObject *name, PyObject *value);
static PyObject * static PyObject *
os_putenv(PyObject *module, PyObject **args, Py_ssize_t nargs) os_putenv(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *name; PyObject *name;
@ -4369,7 +4369,7 @@ static PyObject *
os_putenv_impl(PyObject *module, PyObject *name, PyObject *value); os_putenv_impl(PyObject *module, PyObject *name, PyObject *value);
static PyObject * static PyObject *
os_putenv(PyObject *module, PyObject **args, Py_ssize_t nargs) os_putenv(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *name = NULL; PyObject *name = NULL;
@ -4507,7 +4507,7 @@ static int
os_WIFCONTINUED_impl(PyObject *module, int status); os_WIFCONTINUED_impl(PyObject *module, int status);
static PyObject * static PyObject *
os_WIFCONTINUED(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) os_WIFCONTINUED(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"status", NULL}; static const char * const _keywords[] = {"status", NULL};
@ -4546,7 +4546,7 @@ static int
os_WIFSTOPPED_impl(PyObject *module, int status); os_WIFSTOPPED_impl(PyObject *module, int status);
static PyObject * static PyObject *
os_WIFSTOPPED(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) os_WIFSTOPPED(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"status", NULL}; static const char * const _keywords[] = {"status", NULL};
@ -4585,7 +4585,7 @@ static int
os_WIFSIGNALED_impl(PyObject *module, int status); os_WIFSIGNALED_impl(PyObject *module, int status);
static PyObject * static PyObject *
os_WIFSIGNALED(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) os_WIFSIGNALED(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"status", NULL}; static const char * const _keywords[] = {"status", NULL};
@ -4624,7 +4624,7 @@ static int
os_WIFEXITED_impl(PyObject *module, int status); os_WIFEXITED_impl(PyObject *module, int status);
static PyObject * static PyObject *
os_WIFEXITED(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) os_WIFEXITED(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"status", NULL}; static const char * const _keywords[] = {"status", NULL};
@ -4663,7 +4663,7 @@ static int
os_WEXITSTATUS_impl(PyObject *module, int status); os_WEXITSTATUS_impl(PyObject *module, int status);
static PyObject * static PyObject *
os_WEXITSTATUS(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) os_WEXITSTATUS(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"status", NULL}; static const char * const _keywords[] = {"status", NULL};
@ -4702,7 +4702,7 @@ static int
os_WTERMSIG_impl(PyObject *module, int status); os_WTERMSIG_impl(PyObject *module, int status);
static PyObject * static PyObject *
os_WTERMSIG(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) os_WTERMSIG(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"status", NULL}; static const char * const _keywords[] = {"status", NULL};
@ -4741,7 +4741,7 @@ static int
os_WSTOPSIG_impl(PyObject *module, int status); os_WSTOPSIG_impl(PyObject *module, int status);
static PyObject * static PyObject *
os_WSTOPSIG(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) os_WSTOPSIG(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"status", NULL}; static const char * const _keywords[] = {"status", NULL};
@ -4817,7 +4817,7 @@ static PyObject *
os_statvfs_impl(PyObject *module, path_t *path); os_statvfs_impl(PyObject *module, path_t *path);
static PyObject * static PyObject *
os_statvfs(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) os_statvfs(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"path", NULL}; static const char * const _keywords[] = {"path", NULL};
@ -4854,7 +4854,7 @@ static PyObject *
os__getdiskusage_impl(PyObject *module, Py_UNICODE *path); os__getdiskusage_impl(PyObject *module, Py_UNICODE *path);
static PyObject * static PyObject *
os__getdiskusage(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) os__getdiskusage(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"path", NULL}; static const char * const _keywords[] = {"path", NULL};
@ -4890,7 +4890,7 @@ static long
os_fpathconf_impl(PyObject *module, int fd, int name); os_fpathconf_impl(PyObject *module, int fd, int name);
static PyObject * static PyObject *
os_fpathconf(PyObject *module, PyObject **args, Py_ssize_t nargs) os_fpathconf(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
int fd; int fd;
@ -4932,7 +4932,7 @@ static long
os_pathconf_impl(PyObject *module, path_t *path, int name); os_pathconf_impl(PyObject *module, path_t *path, int name);
static PyObject * static PyObject *
os_pathconf(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) os_pathconf(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"path", "name", NULL}; static const char * const _keywords[] = {"path", "name", NULL};
@ -5080,7 +5080,7 @@ static PyObject *
os_startfile_impl(PyObject *module, path_t *filepath, Py_UNICODE *operation); os_startfile_impl(PyObject *module, path_t *filepath, Py_UNICODE *operation);
static PyObject * static PyObject *
os_startfile(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) os_startfile(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"filepath", "operation", NULL}; static const char * const _keywords[] = {"filepath", "operation", NULL};
@ -5145,7 +5145,7 @@ static PyObject *
os_device_encoding_impl(PyObject *module, int fd); os_device_encoding_impl(PyObject *module, int fd);
static PyObject * static PyObject *
os_device_encoding(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) os_device_encoding(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"fd", NULL}; static const char * const _keywords[] = {"fd", NULL};
@ -5177,7 +5177,7 @@ static PyObject *
os_setresuid_impl(PyObject *module, uid_t ruid, uid_t euid, uid_t suid); os_setresuid_impl(PyObject *module, uid_t ruid, uid_t euid, uid_t suid);
static PyObject * static PyObject *
os_setresuid(PyObject *module, PyObject **args, Py_ssize_t nargs) os_setresuid(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
uid_t ruid; uid_t ruid;
@ -5211,7 +5211,7 @@ static PyObject *
os_setresgid_impl(PyObject *module, gid_t rgid, gid_t egid, gid_t sgid); os_setresgid_impl(PyObject *module, gid_t rgid, gid_t egid, gid_t sgid);
static PyObject * static PyObject *
os_setresgid(PyObject *module, PyObject **args, Py_ssize_t nargs) os_setresgid(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
gid_t rgid; gid_t rgid;
@ -5295,7 +5295,7 @@ os_getxattr_impl(PyObject *module, path_t *path, path_t *attribute,
int follow_symlinks); int follow_symlinks);
static PyObject * static PyObject *
os_getxattr(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) os_getxattr(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"path", "attribute", "follow_symlinks", NULL}; static const char * const _keywords[] = {"path", "attribute", "follow_symlinks", NULL};
@ -5343,7 +5343,7 @@ os_setxattr_impl(PyObject *module, path_t *path, path_t *attribute,
Py_buffer *value, int flags, int follow_symlinks); Py_buffer *value, int flags, int follow_symlinks);
static PyObject * static PyObject *
os_setxattr(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) os_setxattr(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"path", "attribute", "value", "flags", "follow_symlinks", NULL}; static const char * const _keywords[] = {"path", "attribute", "value", "flags", "follow_symlinks", NULL};
@ -5396,7 +5396,7 @@ os_removexattr_impl(PyObject *module, path_t *path, path_t *attribute,
int follow_symlinks); int follow_symlinks);
static PyObject * static PyObject *
os_removexattr(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) os_removexattr(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"path", "attribute", "follow_symlinks", NULL}; static const char * const _keywords[] = {"path", "attribute", "follow_symlinks", NULL};
@ -5443,7 +5443,7 @@ static PyObject *
os_listxattr_impl(PyObject *module, path_t *path, int follow_symlinks); os_listxattr_impl(PyObject *module, path_t *path, int follow_symlinks);
static PyObject * static PyObject *
os_listxattr(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) os_listxattr(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"path", "follow_symlinks", NULL}; static const char * const _keywords[] = {"path", "follow_symlinks", NULL};
@ -5560,7 +5560,7 @@ static PyObject *
os_set_inheritable_impl(PyObject *module, int fd, int inheritable); os_set_inheritable_impl(PyObject *module, int fd, int inheritable);
static PyObject * static PyObject *
os_set_inheritable(PyObject *module, PyObject **args, Py_ssize_t nargs) os_set_inheritable(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
int fd; int fd;
@ -5628,7 +5628,7 @@ os_set_handle_inheritable_impl(PyObject *module, intptr_t handle,
int inheritable); int inheritable);
static PyObject * static PyObject *
os_set_handle_inheritable(PyObject *module, PyObject **args, Py_ssize_t nargs) os_set_handle_inheritable(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
intptr_t handle; intptr_t handle;
@ -5687,7 +5687,7 @@ static PyObject *
os_DirEntry_stat_impl(DirEntry *self, int follow_symlinks); os_DirEntry_stat_impl(DirEntry *self, int follow_symlinks);
static PyObject * static PyObject *
os_DirEntry_stat(DirEntry *self, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) os_DirEntry_stat(DirEntry *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"follow_symlinks", NULL}; static const char * const _keywords[] = {"follow_symlinks", NULL};
@ -5717,7 +5717,7 @@ static int
os_DirEntry_is_dir_impl(DirEntry *self, int follow_symlinks); os_DirEntry_is_dir_impl(DirEntry *self, int follow_symlinks);
static PyObject * static PyObject *
os_DirEntry_is_dir(DirEntry *self, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) os_DirEntry_is_dir(DirEntry *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"follow_symlinks", NULL}; static const char * const _keywords[] = {"follow_symlinks", NULL};
@ -5752,7 +5752,7 @@ static int
os_DirEntry_is_file_impl(DirEntry *self, int follow_symlinks); os_DirEntry_is_file_impl(DirEntry *self, int follow_symlinks);
static PyObject * static PyObject *
os_DirEntry_is_file(DirEntry *self, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) os_DirEntry_is_file(DirEntry *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"follow_symlinks", NULL}; static const char * const _keywords[] = {"follow_symlinks", NULL};
@ -5829,7 +5829,7 @@ static PyObject *
os_scandir_impl(PyObject *module, path_t *path); os_scandir_impl(PyObject *module, path_t *path);
static PyObject * static PyObject *
os_scandir(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) os_scandir(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"path", NULL}; static const char * const _keywords[] = {"path", NULL};
@ -5866,7 +5866,7 @@ static PyObject *
os_fspath_impl(PyObject *module, PyObject *path); os_fspath_impl(PyObject *module, PyObject *path);
static PyObject * static PyObject *
os_fspath(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) os_fspath(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"path", NULL}; static const char * const _keywords[] = {"path", NULL};
@ -5898,7 +5898,7 @@ static PyObject *
os_getrandom_impl(PyObject *module, Py_ssize_t size, int flags); os_getrandom_impl(PyObject *module, Py_ssize_t size, int flags);
static PyObject * static PyObject *
os_getrandom(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) os_getrandom(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"size", "flags", NULL}; static const char * const _keywords[] = {"size", "flags", NULL};
@ -6405,4 +6405,4 @@ exit:
#ifndef OS_GETRANDOM_METHODDEF #ifndef OS_GETRANDOM_METHODDEF
#define OS_GETRANDOM_METHODDEF #define OS_GETRANDOM_METHODDEF
#endif /* !defined(OS_GETRANDOM_METHODDEF) */ #endif /* !defined(OS_GETRANDOM_METHODDEF) */
/*[clinic end generated code: output=949867cb46218339 input=a9049054013a1b77]*/ /*[clinic end generated code: output=b6ade5f170d5a431 input=a9049054013a1b77]*/

View File

@ -18,7 +18,7 @@ pyexpat_xmlparser_Parse_impl(xmlparseobject *self, PyObject *data,
int isfinal); int isfinal);
static PyObject * static PyObject *
pyexpat_xmlparser_Parse(xmlparseobject *self, PyObject **args, Py_ssize_t nargs) pyexpat_xmlparser_Parse(xmlparseobject *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *data; PyObject *data;
@ -124,7 +124,7 @@ pyexpat_xmlparser_ExternalEntityParserCreate_impl(xmlparseobject *self,
const char *encoding); const char *encoding);
static PyObject * static PyObject *
pyexpat_xmlparser_ExternalEntityParserCreate(xmlparseobject *self, PyObject **args, Py_ssize_t nargs) pyexpat_xmlparser_ExternalEntityParserCreate(xmlparseobject *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
const char *context; const char *context;
@ -191,7 +191,7 @@ static PyObject *
pyexpat_xmlparser_UseForeignDTD_impl(xmlparseobject *self, int flag); pyexpat_xmlparser_UseForeignDTD_impl(xmlparseobject *self, int flag);
static PyObject * static PyObject *
pyexpat_xmlparser_UseForeignDTD(xmlparseobject *self, PyObject **args, Py_ssize_t nargs) pyexpat_xmlparser_UseForeignDTD(xmlparseobject *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
int flag = 1; int flag = 1;
@ -240,7 +240,7 @@ pyexpat_ParserCreate_impl(PyObject *module, const char *encoding,
const char *namespace_separator, PyObject *intern); const char *namespace_separator, PyObject *intern);
static PyObject * static PyObject *
pyexpat_ParserCreate(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) pyexpat_ParserCreate(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"encoding", "namespace_separator", "intern", NULL}; static const char * const _keywords[] = {"encoding", "namespace_separator", "intern", NULL};
@ -289,4 +289,4 @@ exit:
#ifndef PYEXPAT_XMLPARSER_USEFOREIGNDTD_METHODDEF #ifndef PYEXPAT_XMLPARSER_USEFOREIGNDTD_METHODDEF
#define PYEXPAT_XMLPARSER_USEFOREIGNDTD_METHODDEF #define PYEXPAT_XMLPARSER_USEFOREIGNDTD_METHODDEF
#endif /* !defined(PYEXPAT_XMLPARSER_USEFOREIGNDTD_METHODDEF) */ #endif /* !defined(PYEXPAT_XMLPARSER_USEFOREIGNDTD_METHODDEF) */
/*[clinic end generated code: output=5d2e355f2b48e6c3 input=a9049054013a1b77]*/ /*[clinic end generated code: output=34d02345deee104c input=a9049054013a1b77]*/

View File

@ -66,7 +66,7 @@ static PyObject *
resource_setrlimit_impl(PyObject *module, int resource, PyObject *limits); resource_setrlimit_impl(PyObject *module, int resource, PyObject *limits);
static PyObject * static PyObject *
resource_setrlimit(PyObject *module, PyObject **args, Py_ssize_t nargs) resource_setrlimit(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
int resource; int resource;
@ -157,4 +157,4 @@ exit:
#ifndef RESOURCE_PRLIMIT_METHODDEF #ifndef RESOURCE_PRLIMIT_METHODDEF
#define RESOURCE_PRLIMIT_METHODDEF #define RESOURCE_PRLIMIT_METHODDEF
#endif /* !defined(RESOURCE_PRLIMIT_METHODDEF) */ #endif /* !defined(RESOURCE_PRLIMIT_METHODDEF) */
/*[clinic end generated code: output=d7dabf49ce5b767f input=a9049054013a1b77]*/ /*[clinic end generated code: output=2a69aca90631a582 input=a9049054013a1b77]*/

View File

@ -78,7 +78,7 @@ static PyObject *
_sha1_sha1_impl(PyObject *module, PyObject *string); _sha1_sha1_impl(PyObject *module, PyObject *string);
static PyObject * static PyObject *
_sha1_sha1(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) _sha1_sha1(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"string", NULL}; static const char * const _keywords[] = {"string", NULL};
@ -94,4 +94,4 @@ _sha1_sha1(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwname
exit: exit:
return return_value; return return_value;
} }
/*[clinic end generated code: output=594cf600d6ba4776 input=a9049054013a1b77]*/ /*[clinic end generated code: output=9ee2aec7bb2b9e72 input=a9049054013a1b77]*/

View File

@ -78,7 +78,7 @@ static PyObject *
_sha256_sha256_impl(PyObject *module, PyObject *string); _sha256_sha256_impl(PyObject *module, PyObject *string);
static PyObject * static PyObject *
_sha256_sha256(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) _sha256_sha256(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"string", NULL}; static const char * const _keywords[] = {"string", NULL};
@ -108,7 +108,7 @@ static PyObject *
_sha256_sha224_impl(PyObject *module, PyObject *string); _sha256_sha224_impl(PyObject *module, PyObject *string);
static PyObject * static PyObject *
_sha256_sha224(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) _sha256_sha224(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"string", NULL}; static const char * const _keywords[] = {"string", NULL};
@ -124,4 +124,4 @@ _sha256_sha224(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kw
exit: exit:
return return_value; return return_value;
} }
/*[clinic end generated code: output=84e7b8365b3ca4d3 input=a9049054013a1b77]*/ /*[clinic end generated code: output=4b90199bc9f7cc88 input=a9049054013a1b77]*/

View File

@ -78,7 +78,7 @@ static PyObject *
_sha512_sha512_impl(PyObject *module, PyObject *string); _sha512_sha512_impl(PyObject *module, PyObject *string);
static PyObject * static PyObject *
_sha512_sha512(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) _sha512_sha512(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"string", NULL}; static const char * const _keywords[] = {"string", NULL};
@ -108,7 +108,7 @@ static PyObject *
_sha512_sha384_impl(PyObject *module, PyObject *string); _sha512_sha384_impl(PyObject *module, PyObject *string);
static PyObject * static PyObject *
_sha512_sha384(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) _sha512_sha384(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"string", NULL}; static const char * const _keywords[] = {"string", NULL};
@ -124,4 +124,4 @@ _sha512_sha384(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kw
exit: exit:
return return_value; return return_value;
} }
/*[clinic end generated code: output=2f6ad0831d16c35f input=a9049054013a1b77]*/ /*[clinic end generated code: output=f963a543bf3c72e8 input=a9049054013a1b77]*/

View File

@ -80,7 +80,7 @@ static PyObject *
signal_signal_impl(PyObject *module, int signalnum, PyObject *handler); signal_signal_impl(PyObject *module, int signalnum, PyObject *handler);
static PyObject * static PyObject *
signal_signal(PyObject *module, PyObject **args, Py_ssize_t nargs) signal_signal(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
int signalnum; int signalnum;
@ -147,7 +147,7 @@ static PyObject *
signal_siginterrupt_impl(PyObject *module, int signalnum, int flag); signal_siginterrupt_impl(PyObject *module, int signalnum, int flag);
static PyObject * static PyObject *
signal_siginterrupt(PyObject *module, PyObject **args, Py_ssize_t nargs) signal_siginterrupt(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
int signalnum; int signalnum;
@ -186,7 +186,7 @@ signal_setitimer_impl(PyObject *module, int which, PyObject *seconds,
PyObject *interval); PyObject *interval);
static PyObject * static PyObject *
signal_setitimer(PyObject *module, PyObject **args, Py_ssize_t nargs) signal_setitimer(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
int which; int which;
@ -251,7 +251,7 @@ static PyObject *
signal_pthread_sigmask_impl(PyObject *module, int how, PyObject *mask); signal_pthread_sigmask_impl(PyObject *module, int how, PyObject *mask);
static PyObject * static PyObject *
signal_pthread_sigmask(PyObject *module, PyObject **args, Py_ssize_t nargs) signal_pthread_sigmask(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
int how; int how;
@ -344,7 +344,7 @@ signal_sigtimedwait_impl(PyObject *module, PyObject *sigset,
PyObject *timeout_obj); PyObject *timeout_obj);
static PyObject * static PyObject *
signal_sigtimedwait(PyObject *module, PyObject **args, Py_ssize_t nargs) signal_sigtimedwait(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *sigset; PyObject *sigset;
@ -379,7 +379,7 @@ signal_pthread_kill_impl(PyObject *module, unsigned long thread_id,
int signalnum); int signalnum);
static PyObject * static PyObject *
signal_pthread_kill(PyObject *module, PyObject **args, Py_ssize_t nargs) signal_pthread_kill(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
unsigned long thread_id; unsigned long thread_id;
@ -440,4 +440,4 @@ exit:
#ifndef SIGNAL_PTHREAD_KILL_METHODDEF #ifndef SIGNAL_PTHREAD_KILL_METHODDEF
#define SIGNAL_PTHREAD_KILL_METHODDEF #define SIGNAL_PTHREAD_KILL_METHODDEF
#endif /* !defined(SIGNAL_PTHREAD_KILL_METHODDEF) */ #endif /* !defined(SIGNAL_PTHREAD_KILL_METHODDEF) */
/*[clinic end generated code: output=a003d3fea9a33daa input=a9049054013a1b77]*/ /*[clinic end generated code: output=36132f4189381fe0 input=a9049054013a1b77]*/

View File

@ -16,7 +16,7 @@ _symtable_symtable_impl(PyObject *module, const char *str,
PyObject *filename, const char *startstr); PyObject *filename, const char *startstr);
static PyObject * static PyObject *
_symtable_symtable(PyObject *module, PyObject **args, Py_ssize_t nargs) _symtable_symtable(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
const char *str; const char *str;
@ -32,4 +32,4 @@ _symtable_symtable(PyObject *module, PyObject **args, Py_ssize_t nargs)
exit: exit:
return return_value; return return_value;
} }
/*[clinic end generated code: output=ef379e514fde8477 input=a9049054013a1b77]*/ /*[clinic end generated code: output=c18565060a6cae04 input=a9049054013a1b77]*/

View File

@ -20,7 +20,7 @@ unicodedata_UCD_decimal_impl(PyObject *self, int chr,
PyObject *default_value); PyObject *default_value);
static PyObject * static PyObject *
unicodedata_UCD_decimal(PyObject *self, PyObject **args, Py_ssize_t nargs) unicodedata_UCD_decimal(PyObject *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
int chr; int chr;
@ -53,7 +53,7 @@ static PyObject *
unicodedata_UCD_digit_impl(PyObject *self, int chr, PyObject *default_value); unicodedata_UCD_digit_impl(PyObject *self, int chr, PyObject *default_value);
static PyObject * static PyObject *
unicodedata_UCD_digit(PyObject *self, PyObject **args, Py_ssize_t nargs) unicodedata_UCD_digit(PyObject *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
int chr; int chr;
@ -87,7 +87,7 @@ unicodedata_UCD_numeric_impl(PyObject *self, int chr,
PyObject *default_value); PyObject *default_value);
static PyObject * static PyObject *
unicodedata_UCD_numeric(PyObject *self, PyObject **args, Py_ssize_t nargs) unicodedata_UCD_numeric(PyObject *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
int chr; int chr;
@ -300,7 +300,7 @@ unicodedata_UCD_normalize_impl(PyObject *self, const char *form,
PyObject *input); PyObject *input);
static PyObject * static PyObject *
unicodedata_UCD_normalize(PyObject *self, PyObject **args, Py_ssize_t nargs) unicodedata_UCD_normalize(PyObject *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
const char *form; const char *form;
@ -332,7 +332,7 @@ static PyObject *
unicodedata_UCD_name_impl(PyObject *self, int chr, PyObject *default_value); unicodedata_UCD_name_impl(PyObject *self, int chr, PyObject *default_value);
static PyObject * static PyObject *
unicodedata_UCD_name(PyObject *self, PyObject **args, Py_ssize_t nargs) unicodedata_UCD_name(PyObject *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
int chr; int chr;
@ -379,4 +379,4 @@ unicodedata_UCD_lookup(PyObject *self, PyObject *arg)
exit: exit:
return return_value; return return_value;
} }
/*[clinic end generated code: output=7ec9a3c8fbfd3c3a input=a9049054013a1b77]*/ /*[clinic end generated code: output=dc899bff0ecd14c1 input=a9049054013a1b77]*/

View File

@ -65,7 +65,7 @@ zipimport_zipimporter_find_module_impl(ZipImporter *self, PyObject *fullname,
PyObject *path); PyObject *path);
static PyObject * static PyObject *
zipimport_zipimporter_find_module(ZipImporter *self, PyObject **args, Py_ssize_t nargs) zipimport_zipimporter_find_module(ZipImporter *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *fullname; PyObject *fullname;
@ -101,7 +101,7 @@ zipimport_zipimporter_find_loader_impl(ZipImporter *self, PyObject *fullname,
PyObject *path); PyObject *path);
static PyObject * static PyObject *
zipimport_zipimporter_find_loader(ZipImporter *self, PyObject **args, Py_ssize_t nargs) zipimport_zipimporter_find_loader(ZipImporter *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *fullname; PyObject *fullname;
@ -291,4 +291,4 @@ zipimport_zipimporter_get_source(ZipImporter *self, PyObject *arg)
exit: exit:
return return_value; return return_value;
} }
/*[clinic end generated code: output=bac6c9144950eaec input=a9049054013a1b77]*/ /*[clinic end generated code: output=93cb62a3a9752b9f input=a9049054013a1b77]*/

View File

@ -20,7 +20,7 @@ static PyObject *
zlib_compress_impl(PyObject *module, Py_buffer *data, int level); zlib_compress_impl(PyObject *module, Py_buffer *data, int level);
static PyObject * static PyObject *
zlib_compress(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) zlib_compress(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"", "level", NULL}; static const char * const _keywords[] = {"", "level", NULL};
@ -64,7 +64,7 @@ zlib_decompress_impl(PyObject *module, Py_buffer *data, int wbits,
Py_ssize_t bufsize); Py_ssize_t bufsize);
static PyObject * static PyObject *
zlib_decompress(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) zlib_decompress(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"", "wbits", "bufsize", NULL}; static const char * const _keywords[] = {"", "wbits", "bufsize", NULL};
@ -126,7 +126,7 @@ zlib_compressobj_impl(PyObject *module, int level, int method, int wbits,
int memLevel, int strategy, Py_buffer *zdict); int memLevel, int strategy, Py_buffer *zdict);
static PyObject * static PyObject *
zlib_compressobj(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) zlib_compressobj(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"level", "method", "wbits", "memLevel", "strategy", "zdict", NULL}; static const char * const _keywords[] = {"level", "method", "wbits", "memLevel", "strategy", "zdict", NULL};
@ -172,7 +172,7 @@ static PyObject *
zlib_decompressobj_impl(PyObject *module, int wbits, PyObject *zdict); zlib_decompressobj_impl(PyObject *module, int wbits, PyObject *zdict);
static PyObject * static PyObject *
zlib_decompressobj(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) zlib_decompressobj(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"wbits", "zdict", NULL}; static const char * const _keywords[] = {"wbits", "zdict", NULL};
@ -254,7 +254,7 @@ zlib_Decompress_decompress_impl(compobject *self, Py_buffer *data,
Py_ssize_t max_length); Py_ssize_t max_length);
static PyObject * static PyObject *
zlib_Decompress_decompress(compobject *self, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) zlib_Decompress_decompress(compobject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"", "max_length", NULL}; static const char * const _keywords[] = {"", "max_length", NULL};
@ -296,7 +296,7 @@ static PyObject *
zlib_Compress_flush_impl(compobject *self, int mode); zlib_Compress_flush_impl(compobject *self, int mode);
static PyObject * static PyObject *
zlib_Compress_flush(compobject *self, PyObject **args, Py_ssize_t nargs) zlib_Compress_flush(compobject *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
int mode = Z_FINISH; int mode = Z_FINISH;
@ -371,7 +371,7 @@ static PyObject *
zlib_Decompress_flush_impl(compobject *self, Py_ssize_t length); zlib_Decompress_flush_impl(compobject *self, Py_ssize_t length);
static PyObject * static PyObject *
zlib_Decompress_flush(compobject *self, PyObject **args, Py_ssize_t nargs) zlib_Decompress_flush(compobject *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_ssize_t length = DEF_BUF_SIZE; Py_ssize_t length = DEF_BUF_SIZE;
@ -404,7 +404,7 @@ static PyObject *
zlib_adler32_impl(PyObject *module, Py_buffer *data, unsigned int value); zlib_adler32_impl(PyObject *module, Py_buffer *data, unsigned int value);
static PyObject * static PyObject *
zlib_adler32(PyObject *module, PyObject **args, Py_ssize_t nargs) zlib_adler32(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_buffer data = {NULL, NULL}; Py_buffer data = {NULL, NULL};
@ -443,7 +443,7 @@ static PyObject *
zlib_crc32_impl(PyObject *module, Py_buffer *data, unsigned int value); zlib_crc32_impl(PyObject *module, Py_buffer *data, unsigned int value);
static PyObject * static PyObject *
zlib_crc32(PyObject *module, PyObject **args, Py_ssize_t nargs) zlib_crc32(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_buffer data = {NULL, NULL}; Py_buffer data = {NULL, NULL};
@ -471,4 +471,4 @@ exit:
#ifndef ZLIB_DECOMPRESS_COPY_METHODDEF #ifndef ZLIB_DECOMPRESS_COPY_METHODDEF
#define ZLIB_DECOMPRESS_COPY_METHODDEF #define ZLIB_DECOMPRESS_COPY_METHODDEF
#endif /* !defined(ZLIB_DECOMPRESS_COPY_METHODDEF) */ #endif /* !defined(ZLIB_DECOMPRESS_COPY_METHODDEF) */
/*[clinic end generated code: output=6378d429f0819817 input=a9049054013a1b77]*/ /*[clinic end generated code: output=43dd29b8977765f9 input=a9049054013a1b77]*/

View File

@ -81,7 +81,7 @@ _Py_CheckFunctionResult(PyObject *callable, PyObject *result, const char *where)
/* --- Core PyObject call functions ------------------------------- */ /* --- Core PyObject call functions ------------------------------- */
PyObject * PyObject *
_PyObject_FastCallDict(PyObject *callable, PyObject **args, Py_ssize_t nargs, _PyObject_FastCallDict(PyObject *callable, PyObject *const *args, Py_ssize_t nargs,
PyObject *kwargs) PyObject *kwargs)
{ {
/* _PyObject_FastCallDict() must not be called with an exception set, /* _PyObject_FastCallDict() must not be called with an exception set,
@ -134,7 +134,7 @@ _PyObject_FastCallDict(PyObject *callable, PyObject **args, Py_ssize_t nargs,
PyObject * PyObject *
_PyObject_FastCallKeywords(PyObject *callable, PyObject **stack, Py_ssize_t nargs, _PyObject_FastCallKeywords(PyObject *callable, PyObject *const *stack, Py_ssize_t nargs,
PyObject *kwnames) PyObject *kwnames)
{ {
/* _PyObject_FastCallKeywords() must not be called with an exception set, /* _PyObject_FastCallKeywords() must not be called with an exception set,
@ -254,7 +254,7 @@ PyObject_Call(PyObject *callable, PyObject *args, PyObject *kwargs)
/* --- PyFunction call functions ---------------------------------- */ /* --- PyFunction call functions ---------------------------------- */
static PyObject* _Py_HOT_FUNCTION static PyObject* _Py_HOT_FUNCTION
function_code_fastcall(PyCodeObject *co, PyObject **args, Py_ssize_t nargs, function_code_fastcall(PyCodeObject *co, PyObject *const *args, Py_ssize_t nargs,
PyObject *globals) PyObject *globals)
{ {
PyFrameObject *f; PyFrameObject *f;
@ -296,7 +296,7 @@ function_code_fastcall(PyCodeObject *co, PyObject **args, Py_ssize_t nargs,
PyObject * PyObject *
_PyFunction_FastCallDict(PyObject *func, PyObject **args, Py_ssize_t nargs, _PyFunction_FastCallDict(PyObject *func, PyObject *const *args, Py_ssize_t nargs,
PyObject *kwargs) PyObject *kwargs)
{ {
PyCodeObject *co = (PyCodeObject *)PyFunction_GET_CODE(func); PyCodeObject *co = (PyCodeObject *)PyFunction_GET_CODE(func);
@ -383,7 +383,7 @@ _PyFunction_FastCallDict(PyObject *func, PyObject **args, Py_ssize_t nargs,
} }
PyObject * PyObject *
_PyFunction_FastCallKeywords(PyObject *func, PyObject **stack, _PyFunction_FastCallKeywords(PyObject *func, PyObject *const *stack,
Py_ssize_t nargs, PyObject *kwnames) Py_ssize_t nargs, PyObject *kwnames)
{ {
PyCodeObject *co = (PyCodeObject *)PyFunction_GET_CODE(func); PyCodeObject *co = (PyCodeObject *)PyFunction_GET_CODE(func);
@ -443,8 +443,9 @@ _PyFunction_FastCallKeywords(PyObject *func, PyObject **stack,
/* --- PyCFunction call functions --------------------------------- */ /* --- PyCFunction call functions --------------------------------- */
PyObject * PyObject *
_PyMethodDef_RawFastCallDict(PyMethodDef *method, PyObject *self, PyObject **args, _PyMethodDef_RawFastCallDict(PyMethodDef *method, PyObject *self,
Py_ssize_t nargs, PyObject *kwargs) PyObject *const *args, Py_ssize_t nargs,
PyObject *kwargs)
{ {
/* _PyMethodDef_RawFastCallDict() must not be called with an exception set, /* _PyMethodDef_RawFastCallDict() must not be called with an exception set,
because it can clear it (directly or indirectly) and so the because it can clear it (directly or indirectly) and so the
@ -532,7 +533,7 @@ _PyMethodDef_RawFastCallDict(PyMethodDef *method, PyObject *self, PyObject **arg
case METH_FASTCALL | METH_KEYWORDS: case METH_FASTCALL | METH_KEYWORDS:
{ {
PyObject **stack; PyObject *const *stack;
PyObject *kwnames; PyObject *kwnames;
_PyCFunctionFastWithKeywords fastmeth = (_PyCFunctionFastWithKeywords)meth; _PyCFunctionFastWithKeywords fastmeth = (_PyCFunctionFastWithKeywords)meth;
@ -542,7 +543,7 @@ _PyMethodDef_RawFastCallDict(PyMethodDef *method, PyObject *self, PyObject **arg
result = (*fastmeth) (self, stack, nargs, kwnames); result = (*fastmeth) (self, stack, nargs, kwnames);
if (stack != args) { if (stack != args) {
PyMem_Free(stack); PyMem_Free((PyObject **)stack);
} }
Py_XDECREF(kwnames); Py_XDECREF(kwnames);
break; break;
@ -569,7 +570,8 @@ exit:
PyObject * PyObject *
_PyCFunction_FastCallDict(PyObject *func, PyObject **args, Py_ssize_t nargs, _PyCFunction_FastCallDict(PyObject *func,
PyObject *const *args, Py_ssize_t nargs,
PyObject *kwargs) PyObject *kwargs)
{ {
PyObject *result; PyObject *result;
@ -586,8 +588,9 @@ _PyCFunction_FastCallDict(PyObject *func, PyObject **args, Py_ssize_t nargs,
PyObject * PyObject *
_PyMethodDef_RawFastCallKeywords(PyMethodDef *method, PyObject *self, PyObject **args, _PyMethodDef_RawFastCallKeywords(PyMethodDef *method, PyObject *self,
Py_ssize_t nargs, PyObject *kwnames) PyObject *const *args, Py_ssize_t nargs,
PyObject *kwnames)
{ {
/* _PyMethodDef_RawFastCallKeywords() must not be called with an exception set, /* _PyMethodDef_RawFastCallKeywords() must not be called with an exception set,
because it can clear it (directly or indirectly) and so the because it can clear it (directly or indirectly) and so the
@ -715,8 +718,9 @@ exit:
PyObject * PyObject *
_PyCFunction_FastCallKeywords(PyObject *func, PyObject **args, _PyCFunction_FastCallKeywords(PyObject *func,
Py_ssize_t nargs, PyObject *kwnames) PyObject *const *args, Py_ssize_t nargs,
PyObject *kwnames)
{ {
PyObject *result; PyObject *result;
@ -834,8 +838,8 @@ PyObject_CallObject(PyObject *callable, PyObject *args)
/* Positional arguments are obj followed by args: /* Positional arguments are obj followed by args:
call callable(obj, *args, **kwargs) */ call callable(obj, *args, **kwargs) */
PyObject * PyObject *
_PyObject_FastCall_Prepend(PyObject *callable, _PyObject_FastCall_Prepend(PyObject *callable, PyObject *obj,
PyObject *obj, PyObject **args, Py_ssize_t nargs) PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *small_stack[_PY_FASTCALL_SMALL_STACK]; PyObject *small_stack[_PY_FASTCALL_SMALL_STACK];
PyObject **args2; PyObject **args2;
@ -1268,7 +1272,7 @@ PyObject_CallFunctionObjArgs(PyObject *callable, ...)
/* Issue #29234: Inlining _PyStack_AsTuple() into callers increases their /* Issue #29234: Inlining _PyStack_AsTuple() into callers increases their
stack consumption, Disable inlining to optimize the stack consumption. */ stack consumption, Disable inlining to optimize the stack consumption. */
PyObject* _Py_NO_INLINE PyObject* _Py_NO_INLINE
_PyStack_AsTuple(PyObject **stack, Py_ssize_t nargs) _PyStack_AsTuple(PyObject *const *stack, Py_ssize_t nargs)
{ {
PyObject *args; PyObject *args;
Py_ssize_t i; Py_ssize_t i;
@ -1288,7 +1292,7 @@ _PyStack_AsTuple(PyObject **stack, Py_ssize_t nargs)
PyObject* PyObject*
_PyStack_AsTupleSlice(PyObject **stack, Py_ssize_t nargs, _PyStack_AsTupleSlice(PyObject *const *stack, Py_ssize_t nargs,
Py_ssize_t start, Py_ssize_t end) Py_ssize_t start, Py_ssize_t end)
{ {
PyObject *args; PyObject *args;
@ -1313,7 +1317,7 @@ _PyStack_AsTupleSlice(PyObject **stack, Py_ssize_t nargs,
PyObject * PyObject *
_PyStack_AsDict(PyObject **values, PyObject *kwnames) _PyStack_AsDict(PyObject *const *values, PyObject *kwnames)
{ {
Py_ssize_t nkwargs; Py_ssize_t nkwargs;
PyObject *kwdict; PyObject *kwdict;
@ -1340,8 +1344,8 @@ _PyStack_AsDict(PyObject **values, PyObject *kwnames)
int int
_PyStack_UnpackDict(PyObject **args, Py_ssize_t nargs, PyObject *kwargs, _PyStack_UnpackDict(PyObject *const *args, Py_ssize_t nargs, PyObject *kwargs,
PyObject ***p_stack, PyObject **p_kwnames) PyObject *const **p_stack, PyObject **p_kwnames)
{ {
PyObject **stack, **kwstack; PyObject **stack, **kwstack;
Py_ssize_t nkwargs; Py_ssize_t nkwargs;

View File

@ -58,7 +58,7 @@ bytearray_translate_impl(PyByteArrayObject *self, PyObject *table,
PyObject *deletechars); PyObject *deletechars);
static PyObject * static PyObject *
bytearray_translate(PyByteArrayObject *self, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) bytearray_translate(PyByteArrayObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"", "delete", NULL}; static const char * const _keywords[] = {"", "delete", NULL};
@ -94,7 +94,7 @@ static PyObject *
bytearray_maketrans_impl(Py_buffer *frm, Py_buffer *to); bytearray_maketrans_impl(Py_buffer *frm, Py_buffer *to);
static PyObject * static PyObject *
bytearray_maketrans(void *null, PyObject **args, Py_ssize_t nargs) bytearray_maketrans(void *null, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_buffer frm = {NULL, NULL}; Py_buffer frm = {NULL, NULL};
@ -140,7 +140,7 @@ bytearray_replace_impl(PyByteArrayObject *self, Py_buffer *old,
Py_buffer *new, Py_ssize_t count); Py_buffer *new, Py_ssize_t count);
static PyObject * static PyObject *
bytearray_replace(PyByteArrayObject *self, PyObject **args, Py_ssize_t nargs) bytearray_replace(PyByteArrayObject *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_buffer old = {NULL, NULL}; Py_buffer old = {NULL, NULL};
@ -188,7 +188,7 @@ bytearray_split_impl(PyByteArrayObject *self, PyObject *sep,
Py_ssize_t maxsplit); Py_ssize_t maxsplit);
static PyObject * static PyObject *
bytearray_split(PyByteArrayObject *self, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) bytearray_split(PyByteArrayObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"sep", "maxsplit", NULL}; static const char * const _keywords[] = {"sep", "maxsplit", NULL};
@ -263,7 +263,7 @@ bytearray_rsplit_impl(PyByteArrayObject *self, PyObject *sep,
Py_ssize_t maxsplit); Py_ssize_t maxsplit);
static PyObject * static PyObject *
bytearray_rsplit(PyByteArrayObject *self, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) bytearray_rsplit(PyByteArrayObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"sep", "maxsplit", NULL}; static const char * const _keywords[] = {"sep", "maxsplit", NULL};
@ -317,7 +317,7 @@ static PyObject *
bytearray_insert_impl(PyByteArrayObject *self, Py_ssize_t index, int item); bytearray_insert_impl(PyByteArrayObject *self, Py_ssize_t index, int item);
static PyObject * static PyObject *
bytearray_insert(PyByteArrayObject *self, PyObject **args, Py_ssize_t nargs) bytearray_insert(PyByteArrayObject *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_ssize_t index; Py_ssize_t index;
@ -394,7 +394,7 @@ static PyObject *
bytearray_pop_impl(PyByteArrayObject *self, Py_ssize_t index); bytearray_pop_impl(PyByteArrayObject *self, Py_ssize_t index);
static PyObject * static PyObject *
bytearray_pop(PyByteArrayObject *self, PyObject **args, Py_ssize_t nargs) bytearray_pop(PyByteArrayObject *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_ssize_t index = -1; Py_ssize_t index = -1;
@ -454,7 +454,7 @@ static PyObject *
bytearray_strip_impl(PyByteArrayObject *self, PyObject *bytes); bytearray_strip_impl(PyByteArrayObject *self, PyObject *bytes);
static PyObject * static PyObject *
bytearray_strip(PyByteArrayObject *self, PyObject **args, Py_ssize_t nargs) bytearray_strip(PyByteArrayObject *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *bytes = Py_None; PyObject *bytes = Py_None;
@ -485,7 +485,7 @@ static PyObject *
bytearray_lstrip_impl(PyByteArrayObject *self, PyObject *bytes); bytearray_lstrip_impl(PyByteArrayObject *self, PyObject *bytes);
static PyObject * static PyObject *
bytearray_lstrip(PyByteArrayObject *self, PyObject **args, Py_ssize_t nargs) bytearray_lstrip(PyByteArrayObject *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *bytes = Py_None; PyObject *bytes = Py_None;
@ -516,7 +516,7 @@ static PyObject *
bytearray_rstrip_impl(PyByteArrayObject *self, PyObject *bytes); bytearray_rstrip_impl(PyByteArrayObject *self, PyObject *bytes);
static PyObject * static PyObject *
bytearray_rstrip(PyByteArrayObject *self, PyObject **args, Py_ssize_t nargs) bytearray_rstrip(PyByteArrayObject *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *bytes = Py_None; PyObject *bytes = Py_None;
@ -555,7 +555,7 @@ bytearray_decode_impl(PyByteArrayObject *self, const char *encoding,
const char *errors); const char *errors);
static PyObject * static PyObject *
bytearray_decode(PyByteArrayObject *self, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) bytearray_decode(PyByteArrayObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"encoding", "errors", NULL}; static const char * const _keywords[] = {"encoding", "errors", NULL};
@ -602,7 +602,7 @@ static PyObject *
bytearray_splitlines_impl(PyByteArrayObject *self, int keepends); bytearray_splitlines_impl(PyByteArrayObject *self, int keepends);
static PyObject * static PyObject *
bytearray_splitlines(PyByteArrayObject *self, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) bytearray_splitlines(PyByteArrayObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"keepends", NULL}; static const char * const _keywords[] = {"keepends", NULL};
@ -680,7 +680,7 @@ static PyObject *
bytearray_reduce_ex_impl(PyByteArrayObject *self, int proto); bytearray_reduce_ex_impl(PyByteArrayObject *self, int proto);
static PyObject * static PyObject *
bytearray_reduce_ex(PyByteArrayObject *self, PyObject **args, Py_ssize_t nargs) bytearray_reduce_ex(PyByteArrayObject *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
int proto = 0; int proto = 0;
@ -712,4 +712,4 @@ bytearray_sizeof(PyByteArrayObject *self, PyObject *Py_UNUSED(ignored))
{ {
return bytearray_sizeof_impl(self); return bytearray_sizeof_impl(self);
} }
/*[clinic end generated code: output=c2804d009182328c input=a9049054013a1b77]*/ /*[clinic end generated code: output=bb9051a369adb328 input=a9049054013a1b77]*/

View File

@ -23,7 +23,7 @@ static PyObject *
bytes_split_impl(PyBytesObject *self, PyObject *sep, Py_ssize_t maxsplit); bytes_split_impl(PyBytesObject *self, PyObject *sep, Py_ssize_t maxsplit);
static PyObject * static PyObject *
bytes_split(PyBytesObject *self, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) bytes_split(PyBytesObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"sep", "maxsplit", NULL}; static const char * const _keywords[] = {"sep", "maxsplit", NULL};
@ -142,7 +142,7 @@ static PyObject *
bytes_rsplit_impl(PyBytesObject *self, PyObject *sep, Py_ssize_t maxsplit); bytes_rsplit_impl(PyBytesObject *self, PyObject *sep, Py_ssize_t maxsplit);
static PyObject * static PyObject *
bytes_rsplit(PyBytesObject *self, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) bytes_rsplit(PyBytesObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"sep", "maxsplit", NULL}; static const char * const _keywords[] = {"sep", "maxsplit", NULL};
@ -190,7 +190,7 @@ static PyObject *
bytes_strip_impl(PyBytesObject *self, PyObject *bytes); bytes_strip_impl(PyBytesObject *self, PyObject *bytes);
static PyObject * static PyObject *
bytes_strip(PyBytesObject *self, PyObject **args, Py_ssize_t nargs) bytes_strip(PyBytesObject *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *bytes = Py_None; PyObject *bytes = Py_None;
@ -221,7 +221,7 @@ static PyObject *
bytes_lstrip_impl(PyBytesObject *self, PyObject *bytes); bytes_lstrip_impl(PyBytesObject *self, PyObject *bytes);
static PyObject * static PyObject *
bytes_lstrip(PyBytesObject *self, PyObject **args, Py_ssize_t nargs) bytes_lstrip(PyBytesObject *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *bytes = Py_None; PyObject *bytes = Py_None;
@ -252,7 +252,7 @@ static PyObject *
bytes_rstrip_impl(PyBytesObject *self, PyObject *bytes); bytes_rstrip_impl(PyBytesObject *self, PyObject *bytes);
static PyObject * static PyObject *
bytes_rstrip(PyBytesObject *self, PyObject **args, Py_ssize_t nargs) bytes_rstrip(PyBytesObject *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *bytes = Py_None; PyObject *bytes = Py_None;
@ -288,7 +288,7 @@ bytes_translate_impl(PyBytesObject *self, PyObject *table,
PyObject *deletechars); PyObject *deletechars);
static PyObject * static PyObject *
bytes_translate(PyBytesObject *self, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) bytes_translate(PyBytesObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"", "delete", NULL}; static const char * const _keywords[] = {"", "delete", NULL};
@ -324,7 +324,7 @@ static PyObject *
bytes_maketrans_impl(Py_buffer *frm, Py_buffer *to); bytes_maketrans_impl(Py_buffer *frm, Py_buffer *to);
static PyObject * static PyObject *
bytes_maketrans(void *null, PyObject **args, Py_ssize_t nargs) bytes_maketrans(void *null, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_buffer frm = {NULL, NULL}; Py_buffer frm = {NULL, NULL};
@ -370,7 +370,7 @@ bytes_replace_impl(PyBytesObject *self, Py_buffer *old, Py_buffer *new,
Py_ssize_t count); Py_ssize_t count);
static PyObject * static PyObject *
bytes_replace(PyBytesObject *self, PyObject **args, Py_ssize_t nargs) bytes_replace(PyBytesObject *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_buffer old = {NULL, NULL}; Py_buffer old = {NULL, NULL};
@ -419,7 +419,7 @@ bytes_decode_impl(PyBytesObject *self, const char *encoding,
const char *errors); const char *errors);
static PyObject * static PyObject *
bytes_decode(PyBytesObject *self, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) bytes_decode(PyBytesObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"encoding", "errors", NULL}; static const char * const _keywords[] = {"encoding", "errors", NULL};
@ -453,7 +453,7 @@ static PyObject *
bytes_splitlines_impl(PyBytesObject *self, int keepends); bytes_splitlines_impl(PyBytesObject *self, int keepends);
static PyObject * static PyObject *
bytes_splitlines(PyBytesObject *self, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) bytes_splitlines(PyBytesObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"keepends", NULL}; static const char * const _keywords[] = {"keepends", NULL};
@ -499,4 +499,4 @@ bytes_fromhex(PyTypeObject *type, PyObject *arg)
exit: exit:
return return_value; return return_value;
} }
/*[clinic end generated code: output=fc9e02359cc56d36 input=a9049054013a1b77]*/ /*[clinic end generated code: output=470acd12b2534765 input=a9049054013a1b77]*/

View File

@ -15,7 +15,7 @@ static PyObject *
dict_fromkeys_impl(PyTypeObject *type, PyObject *iterable, PyObject *value); dict_fromkeys_impl(PyTypeObject *type, PyObject *iterable, PyObject *value);
static PyObject * static PyObject *
dict_fromkeys(PyTypeObject *type, PyObject **args, Py_ssize_t nargs) dict_fromkeys(PyTypeObject *type, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *iterable; PyObject *iterable;
@ -54,7 +54,7 @@ static PyObject *
dict_get_impl(PyDictObject *self, PyObject *key, PyObject *default_value); dict_get_impl(PyDictObject *self, PyObject *key, PyObject *default_value);
static PyObject * static PyObject *
dict_get(PyDictObject *self, PyObject **args, Py_ssize_t nargs) dict_get(PyDictObject *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *key; PyObject *key;
@ -87,7 +87,7 @@ dict_setdefault_impl(PyDictObject *self, PyObject *key,
PyObject *default_value); PyObject *default_value);
static PyObject * static PyObject *
dict_setdefault(PyDictObject *self, PyObject **args, Py_ssize_t nargs) dict_setdefault(PyDictObject *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *key; PyObject *key;
@ -103,4 +103,4 @@ dict_setdefault(PyDictObject *self, PyObject **args, Py_ssize_t nargs)
exit: exit:
return return_value; return return_value;
} }
/*[clinic end generated code: output=8d09902e60b7ab02 input=a9049054013a1b77]*/ /*[clinic end generated code: output=d7508c5091609a23 input=a9049054013a1b77]*/

View File

@ -53,7 +53,7 @@ static PyObject *
float___round___impl(PyObject *self, PyObject *o_ndigits); float___round___impl(PyObject *self, PyObject *o_ndigits);
static PyObject * static PyObject *
float___round__(PyObject *self, PyObject **args, Py_ssize_t nargs) float___round__(PyObject *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *o_ndigits = NULL; PyObject *o_ndigits = NULL;
@ -263,7 +263,7 @@ float___set_format___impl(PyTypeObject *type, const char *typestr,
const char *fmt); const char *fmt);
static PyObject * static PyObject *
float___set_format__(PyTypeObject *type, PyObject **args, Py_ssize_t nargs) float___set_format__(PyTypeObject *type, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
const char *typestr; const char *typestr;
@ -305,4 +305,4 @@ float___format__(PyObject *self, PyObject *arg)
exit: exit:
return return_value; return return_value;
} }
/*[clinic end generated code: output=90c06ea9d72130cc input=a9049054013a1b77]*/ /*[clinic end generated code: output=a3c366a156be61f9 input=a9049054013a1b77]*/

View File

@ -15,7 +15,7 @@ static PyObject *
list_insert_impl(PyListObject *self, Py_ssize_t index, PyObject *object); list_insert_impl(PyListObject *self, Py_ssize_t index, PyObject *object);
static PyObject * static PyObject *
list_insert(PyListObject *self, PyObject **args, Py_ssize_t nargs) list_insert(PyListObject *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_ssize_t index; Py_ssize_t index;
@ -100,7 +100,7 @@ static PyObject *
list_pop_impl(PyListObject *self, Py_ssize_t index); list_pop_impl(PyListObject *self, Py_ssize_t index);
static PyObject * static PyObject *
list_pop(PyListObject *self, PyObject **args, Py_ssize_t nargs) list_pop(PyListObject *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_ssize_t index = -1; Py_ssize_t index = -1;
@ -128,7 +128,7 @@ static PyObject *
list_sort_impl(PyListObject *self, PyObject *keyfunc, int reverse); list_sort_impl(PyListObject *self, PyObject *keyfunc, int reverse);
static PyObject * static PyObject *
list_sort(PyListObject *self, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) list_sort(PyListObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"key", "reverse", NULL}; static const char * const _keywords[] = {"key", "reverse", NULL};
@ -180,7 +180,7 @@ list_index_impl(PyListObject *self, PyObject *value, Py_ssize_t start,
Py_ssize_t stop); Py_ssize_t stop);
static PyObject * static PyObject *
list_index(PyListObject *self, PyObject **args, Py_ssize_t nargs) list_index(PyListObject *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *value; PyObject *value;
@ -285,4 +285,4 @@ list___reversed__(PyListObject *self, PyObject *Py_UNUSED(ignored))
{ {
return list___reversed___impl(self); return list___reversed___impl(self);
} }
/*[clinic end generated code: output=4a4f72a5e7ff5068 input=a9049054013a1b77]*/ /*[clinic end generated code: output=d8cb29e6e6d79844 input=a9049054013a1b77]*/

View File

@ -146,7 +146,7 @@ int_to_bytes_impl(PyObject *self, Py_ssize_t length, PyObject *byteorder,
int is_signed); int is_signed);
static PyObject * static PyObject *
int_to_bytes(PyObject *self, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) int_to_bytes(PyObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"length", "byteorder", "signed", NULL}; static const char * const _keywords[] = {"length", "byteorder", "signed", NULL};
@ -193,7 +193,7 @@ int_from_bytes_impl(PyTypeObject *type, PyObject *bytes_obj,
PyObject *byteorder, int is_signed); PyObject *byteorder, int is_signed);
static PyObject * static PyObject *
int_from_bytes(PyTypeObject *type, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) int_from_bytes(PyTypeObject *type, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"bytes", "byteorder", "signed", NULL}; static const char * const _keywords[] = {"bytes", "byteorder", "signed", NULL};
@ -211,4 +211,4 @@ int_from_bytes(PyTypeObject *type, PyObject **args, Py_ssize_t nargs, PyObject *
exit: exit:
return return_value; return return_value;
} }
/*[clinic end generated code: output=c9adfdc329651cc4 input=a9049054013a1b77]*/ /*[clinic end generated code: output=fd64beb83bd16df3 input=a9049054013a1b77]*/

View File

@ -15,7 +15,7 @@ static PyObject *
OrderedDict_fromkeys_impl(PyTypeObject *type, PyObject *seq, PyObject *value); OrderedDict_fromkeys_impl(PyTypeObject *type, PyObject *seq, PyObject *value);
static PyObject * static PyObject *
OrderedDict_fromkeys(PyTypeObject *type, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) OrderedDict_fromkeys(PyTypeObject *type, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"iterable", "value", NULL}; static const char * const _keywords[] = {"iterable", "value", NULL};
@ -49,7 +49,7 @@ OrderedDict_setdefault_impl(PyODictObject *self, PyObject *key,
PyObject *default_value); PyObject *default_value);
static PyObject * static PyObject *
OrderedDict_setdefault(PyODictObject *self, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) OrderedDict_setdefault(PyODictObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"key", "default", NULL}; static const char * const _keywords[] = {"key", "default", NULL};
@ -82,7 +82,7 @@ static PyObject *
OrderedDict_popitem_impl(PyODictObject *self, int last); OrderedDict_popitem_impl(PyODictObject *self, int last);
static PyObject * static PyObject *
OrderedDict_popitem(PyODictObject *self, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) OrderedDict_popitem(PyODictObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"last", NULL}; static const char * const _keywords[] = {"last", NULL};
@ -114,7 +114,7 @@ static PyObject *
OrderedDict_move_to_end_impl(PyODictObject *self, PyObject *key, int last); OrderedDict_move_to_end_impl(PyODictObject *self, PyObject *key, int last);
static PyObject * static PyObject *
OrderedDict_move_to_end(PyODictObject *self, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) OrderedDict_move_to_end(PyODictObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"key", "last", NULL}; static const char * const _keywords[] = {"key", "last", NULL};
@ -131,4 +131,4 @@ OrderedDict_move_to_end(PyODictObject *self, PyObject **args, Py_ssize_t nargs,
exit: exit:
return return_value; return return_value;
} }
/*[clinic end generated code: output=b2f82eca6e8c8084 input=a9049054013a1b77]*/ /*[clinic end generated code: output=7f23d569eda2a558 input=a9049054013a1b77]*/

View File

@ -18,7 +18,7 @@ tuple_index_impl(PyTupleObject *self, PyObject *value, Py_ssize_t start,
Py_ssize_t stop); Py_ssize_t stop);
static PyObject * static PyObject *
tuple_index(PyTupleObject *self, PyObject **args, Py_ssize_t nargs) tuple_index(PyTupleObject *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *value; PyObject *value;
@ -95,4 +95,4 @@ tuple___getnewargs__(PyTupleObject *self, PyObject *Py_UNUSED(ignored))
{ {
return tuple___getnewargs___impl(self); return tuple___getnewargs___impl(self);
} }
/*[clinic end generated code: output=d24a9893b3a740c6 input=a9049054013a1b77]*/ /*[clinic end generated code: output=0fbf4321fb4365ac input=a9049054013a1b77]*/

View File

@ -77,7 +77,7 @@ static PyObject *
unicode_center_impl(PyObject *self, Py_ssize_t width, Py_UCS4 fillchar); unicode_center_impl(PyObject *self, Py_ssize_t width, Py_UCS4 fillchar);
static PyObject * static PyObject *
unicode_center(PyObject *self, PyObject **args, Py_ssize_t nargs) unicode_center(PyObject *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_ssize_t width; Py_ssize_t width;
@ -115,7 +115,7 @@ static PyObject *
unicode_encode_impl(PyObject *self, const char *encoding, const char *errors); unicode_encode_impl(PyObject *self, const char *encoding, const char *errors);
static PyObject * static PyObject *
unicode_encode(PyObject *self, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) unicode_encode(PyObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"encoding", "errors", NULL}; static const char * const _keywords[] = {"encoding", "errors", NULL};
@ -148,7 +148,7 @@ static PyObject *
unicode_expandtabs_impl(PyObject *self, int tabsize); unicode_expandtabs_impl(PyObject *self, int tabsize);
static PyObject * static PyObject *
unicode_expandtabs(PyObject *self, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) unicode_expandtabs(PyObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"tabsize", NULL}; static const char * const _keywords[] = {"tabsize", NULL};
@ -425,7 +425,7 @@ static PyObject *
unicode_ljust_impl(PyObject *self, Py_ssize_t width, Py_UCS4 fillchar); unicode_ljust_impl(PyObject *self, Py_ssize_t width, Py_UCS4 fillchar);
static PyObject * static PyObject *
unicode_ljust(PyObject *self, PyObject **args, Py_ssize_t nargs) unicode_ljust(PyObject *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_ssize_t width; Py_ssize_t width;
@ -474,7 +474,7 @@ static PyObject *
unicode_strip_impl(PyObject *self, PyObject *chars); unicode_strip_impl(PyObject *self, PyObject *chars);
static PyObject * static PyObject *
unicode_strip(PyObject *self, PyObject **args, Py_ssize_t nargs) unicode_strip(PyObject *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *chars = Py_None; PyObject *chars = Py_None;
@ -505,7 +505,7 @@ static PyObject *
unicode_lstrip_impl(PyObject *self, PyObject *chars); unicode_lstrip_impl(PyObject *self, PyObject *chars);
static PyObject * static PyObject *
unicode_lstrip(PyObject *self, PyObject **args, Py_ssize_t nargs) unicode_lstrip(PyObject *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *chars = NULL; PyObject *chars = NULL;
@ -536,7 +536,7 @@ static PyObject *
unicode_rstrip_impl(PyObject *self, PyObject *chars); unicode_rstrip_impl(PyObject *self, PyObject *chars);
static PyObject * static PyObject *
unicode_rstrip(PyObject *self, PyObject **args, Py_ssize_t nargs) unicode_rstrip(PyObject *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *chars = NULL; PyObject *chars = NULL;
@ -573,7 +573,7 @@ unicode_replace_impl(PyObject *self, PyObject *old, PyObject *new,
Py_ssize_t count); Py_ssize_t count);
static PyObject * static PyObject *
unicode_replace(PyObject *self, PyObject **args, Py_ssize_t nargs) unicode_replace(PyObject *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *old; PyObject *old;
@ -605,7 +605,7 @@ static PyObject *
unicode_rjust_impl(PyObject *self, Py_ssize_t width, Py_UCS4 fillchar); unicode_rjust_impl(PyObject *self, Py_ssize_t width, Py_UCS4 fillchar);
static PyObject * static PyObject *
unicode_rjust(PyObject *self, PyObject **args, Py_ssize_t nargs) unicode_rjust(PyObject *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_ssize_t width; Py_ssize_t width;
@ -642,7 +642,7 @@ static PyObject *
unicode_split_impl(PyObject *self, PyObject *sep, Py_ssize_t maxsplit); unicode_split_impl(PyObject *self, PyObject *sep, Py_ssize_t maxsplit);
static PyObject * static PyObject *
unicode_split(PyObject *self, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) unicode_split(PyObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"sep", "maxsplit", NULL}; static const char * const _keywords[] = {"sep", "maxsplit", NULL};
@ -715,7 +715,7 @@ static PyObject *
unicode_rsplit_impl(PyObject *self, PyObject *sep, Py_ssize_t maxsplit); unicode_rsplit_impl(PyObject *self, PyObject *sep, Py_ssize_t maxsplit);
static PyObject * static PyObject *
unicode_rsplit(PyObject *self, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) unicode_rsplit(PyObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"sep", "maxsplit", NULL}; static const char * const _keywords[] = {"sep", "maxsplit", NULL};
@ -749,7 +749,7 @@ static PyObject *
unicode_splitlines_impl(PyObject *self, int keepends); unicode_splitlines_impl(PyObject *self, int keepends);
static PyObject * static PyObject *
unicode_splitlines(PyObject *self, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) unicode_splitlines(PyObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"keepends", NULL}; static const char * const _keywords[] = {"keepends", NULL};
@ -805,7 +805,7 @@ static PyObject *
unicode_maketrans_impl(PyObject *x, PyObject *y, PyObject *z); unicode_maketrans_impl(PyObject *x, PyObject *y, PyObject *z);
static PyObject * static PyObject *
unicode_maketrans(void *null, PyObject **args, Py_ssize_t nargs) unicode_maketrans(void *null, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *x; PyObject *x;
@ -930,4 +930,4 @@ unicode_sizeof(PyObject *self, PyObject *Py_UNUSED(ignored))
{ {
return unicode_sizeof_impl(self); return unicode_sizeof_impl(self);
} }
/*[clinic end generated code: output=816292e81a8a732e input=a9049054013a1b77]*/ /*[clinic end generated code: output=1ad4e81b68194264 input=a9049054013a1b77]*/

View File

@ -256,7 +256,7 @@ methoddescr_call(PyMethodDescrObject *descr, PyObject *args, PyObject *kwargs)
// same to methoddescr_call(), but use FASTCALL convention. // same to methoddescr_call(), but use FASTCALL convention.
PyObject * PyObject *
_PyMethodDescr_FastCallKeywords(PyObject *descrobj, _PyMethodDescr_FastCallKeywords(PyObject *descrobj,
PyObject **args, Py_ssize_t nargs, PyObject *const *args, Py_ssize_t nargs,
PyObject *kwnames) PyObject *kwnames)
{ {
assert(Py_TYPE(descrobj) == &PyMethodDescr_Type); assert(Py_TYPE(descrobj) == &PyMethodDescr_Type);

View File

@ -3298,7 +3298,7 @@ type___subclasses___impl(PyTypeObject *self)
} }
static PyObject * static PyObject *
type_prepare(PyObject *self, PyObject **args, Py_ssize_t nargs, type_prepare(PyObject *self, PyObject *const *args, Py_ssize_t nargs,
PyObject *kwnames) PyObject *kwnames)
{ {
return PyDict_New(); return PyDict_New();

View File

@ -9835,7 +9835,7 @@ PyUnicode_Join(PyObject *separator, PyObject *seq)
} }
PyObject * PyObject *
_PyUnicode_JoinArray(PyObject *separator, PyObject **items, Py_ssize_t seqlen) _PyUnicode_JoinArray(PyObject *separator, PyObject *const *items, Py_ssize_t seqlen)
{ {
PyObject *res = NULL; /* the result */ PyObject *res = NULL; /* the result */
PyObject *sep = NULL; PyObject *sep = NULL;

View File

@ -18,7 +18,7 @@ _testconsole_write_input_impl(PyObject *module, PyObject *file,
PyBytesObject *s); PyBytesObject *s);
static PyObject * static PyObject *
_testconsole_write_input(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) _testconsole_write_input(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"file", "s", NULL}; static const char * const _keywords[] = {"file", "s", NULL};
@ -53,7 +53,7 @@ static PyObject *
_testconsole_read_output_impl(PyObject *module, PyObject *file); _testconsole_read_output_impl(PyObject *module, PyObject *file);
static PyObject * static PyObject *
_testconsole_read_output(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) _testconsole_read_output(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"file", NULL}; static const char * const _keywords[] = {"file", NULL};
@ -79,4 +79,4 @@ exit:
#ifndef _TESTCONSOLE_READ_OUTPUT_METHODDEF #ifndef _TESTCONSOLE_READ_OUTPUT_METHODDEF
#define _TESTCONSOLE_READ_OUTPUT_METHODDEF #define _TESTCONSOLE_READ_OUTPUT_METHODDEF
#endif /* !defined(_TESTCONSOLE_READ_OUTPUT_METHODDEF) */ #endif /* !defined(_TESTCONSOLE_READ_OUTPUT_METHODDEF) */
/*[clinic end generated code: output=ac80ed19e6edc0af input=a9049054013a1b77]*/ /*[clinic end generated code: output=e7dd05a60463c5f0 input=a9049054013a1b77]*/

View File

@ -43,7 +43,7 @@ static PyObject *
msvcrt_locking_impl(PyObject *module, int fd, int mode, long nbytes); msvcrt_locking_impl(PyObject *module, int fd, int mode, long nbytes);
static PyObject * static PyObject *
msvcrt_locking(PyObject *module, PyObject **args, Py_ssize_t nargs) msvcrt_locking(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
int fd; int fd;
@ -78,7 +78,7 @@ static long
msvcrt_setmode_impl(PyObject *module, int fd, int flags); msvcrt_setmode_impl(PyObject *module, int fd, int flags);
static PyObject * static PyObject *
msvcrt_setmode(PyObject *module, PyObject **args, Py_ssize_t nargs) msvcrt_setmode(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
int fd; int fd;
@ -116,7 +116,7 @@ static long
msvcrt_open_osfhandle_impl(PyObject *module, void *handle, int flags); msvcrt_open_osfhandle_impl(PyObject *module, void *handle, int flags);
static PyObject * static PyObject *
msvcrt_open_osfhandle(PyObject *module, PyObject **args, Py_ssize_t nargs) msvcrt_open_osfhandle(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
void *handle; void *handle;
@ -430,7 +430,7 @@ static void *
msvcrt_CrtSetReportFile_impl(PyObject *module, int type, void *file); msvcrt_CrtSetReportFile_impl(PyObject *module, int type, void *file);
static PyObject * static PyObject *
msvcrt_CrtSetReportFile(PyObject *module, PyObject **args, Py_ssize_t nargs) msvcrt_CrtSetReportFile(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
int type; int type;
@ -470,7 +470,7 @@ static long
msvcrt_CrtSetReportMode_impl(PyObject *module, int type, int mode); msvcrt_CrtSetReportMode_impl(PyObject *module, int type, int mode);
static PyObject * static PyObject *
msvcrt_CrtSetReportMode(PyObject *module, PyObject **args, Py_ssize_t nargs) msvcrt_CrtSetReportMode(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
int type; int type;
@ -569,4 +569,4 @@ exit:
#ifndef MSVCRT_SET_ERROR_MODE_METHODDEF #ifndef MSVCRT_SET_ERROR_MODE_METHODDEF
#define MSVCRT_SET_ERROR_MODE_METHODDEF #define MSVCRT_SET_ERROR_MODE_METHODDEF
#endif /* !defined(MSVCRT_SET_ERROR_MODE_METHODDEF) */ #endif /* !defined(MSVCRT_SET_ERROR_MODE_METHODDEF) */
/*[clinic end generated code: output=66787cb934b8a3c2 input=a9049054013a1b77]*/ /*[clinic end generated code: output=3dd4cf62afb9771a input=a9049054013a1b77]*/

View File

@ -84,7 +84,7 @@ winreg_HKEYType___exit___impl(PyHKEYObject *self, PyObject *exc_type,
PyObject *exc_value, PyObject *traceback); PyObject *exc_value, PyObject *traceback);
static PyObject * static PyObject *
winreg_HKEYType___exit__(PyHKEYObject *self, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) winreg_HKEYType___exit__(PyHKEYObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"exc_type", "exc_value", "traceback", NULL}; static const char * const _keywords[] = {"exc_type", "exc_value", "traceback", NULL};
@ -141,7 +141,7 @@ winreg_ConnectRegistry_impl(PyObject *module, Py_UNICODE *computer_name,
HKEY key); HKEY key);
static PyObject * static PyObject *
winreg_ConnectRegistry(PyObject *module, PyObject **args, Py_ssize_t nargs) winreg_ConnectRegistry(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
Py_UNICODE *computer_name; Py_UNICODE *computer_name;
@ -188,7 +188,7 @@ static HKEY
winreg_CreateKey_impl(PyObject *module, HKEY key, Py_UNICODE *sub_key); winreg_CreateKey_impl(PyObject *module, HKEY key, Py_UNICODE *sub_key);
static PyObject * static PyObject *
winreg_CreateKey(PyObject *module, PyObject **args, Py_ssize_t nargs) winreg_CreateKey(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
HKEY key; HKEY key;
@ -242,7 +242,7 @@ winreg_CreateKeyEx_impl(PyObject *module, HKEY key, Py_UNICODE *sub_key,
int reserved, REGSAM access); int reserved, REGSAM access);
static PyObject * static PyObject *
winreg_CreateKeyEx(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) winreg_CreateKeyEx(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"key", "sub_key", "reserved", "access", NULL}; static const char * const _keywords[] = {"key", "sub_key", "reserved", "access", NULL};
@ -292,7 +292,7 @@ static PyObject *
winreg_DeleteKey_impl(PyObject *module, HKEY key, Py_UNICODE *sub_key); winreg_DeleteKey_impl(PyObject *module, HKEY key, Py_UNICODE *sub_key);
static PyObject * static PyObject *
winreg_DeleteKey(PyObject *module, PyObject **args, Py_ssize_t nargs) winreg_DeleteKey(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
HKEY key; HKEY key;
@ -341,7 +341,7 @@ winreg_DeleteKeyEx_impl(PyObject *module, HKEY key, Py_UNICODE *sub_key,
REGSAM access, int reserved); REGSAM access, int reserved);
static PyObject * static PyObject *
winreg_DeleteKeyEx(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) winreg_DeleteKeyEx(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"key", "sub_key", "access", "reserved", NULL}; static const char * const _keywords[] = {"key", "sub_key", "access", "reserved", NULL};
@ -379,7 +379,7 @@ static PyObject *
winreg_DeleteValue_impl(PyObject *module, HKEY key, Py_UNICODE *value); winreg_DeleteValue_impl(PyObject *module, HKEY key, Py_UNICODE *value);
static PyObject * static PyObject *
winreg_DeleteValue(PyObject *module, PyObject **args, Py_ssize_t nargs) winreg_DeleteValue(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
HKEY key; HKEY key;
@ -417,7 +417,7 @@ static PyObject *
winreg_EnumKey_impl(PyObject *module, HKEY key, int index); winreg_EnumKey_impl(PyObject *module, HKEY key, int index);
static PyObject * static PyObject *
winreg_EnumKey(PyObject *module, PyObject **args, Py_ssize_t nargs) winreg_EnumKey(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
HKEY key; HKEY key;
@ -464,7 +464,7 @@ static PyObject *
winreg_EnumValue_impl(PyObject *module, HKEY key, int index); winreg_EnumValue_impl(PyObject *module, HKEY key, int index);
static PyObject * static PyObject *
winreg_EnumValue(PyObject *module, PyObject **args, Py_ssize_t nargs) winreg_EnumValue(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
HKEY key; HKEY key;
@ -583,7 +583,7 @@ winreg_LoadKey_impl(PyObject *module, HKEY key, Py_UNICODE *sub_key,
Py_UNICODE *file_name); Py_UNICODE *file_name);
static PyObject * static PyObject *
winreg_LoadKey(PyObject *module, PyObject **args, Py_ssize_t nargs) winreg_LoadKey(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
HKEY key; HKEY key;
@ -627,7 +627,7 @@ winreg_OpenKey_impl(PyObject *module, HKEY key, Py_UNICODE *sub_key,
int reserved, REGSAM access); int reserved, REGSAM access);
static PyObject * static PyObject *
winreg_OpenKey(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) winreg_OpenKey(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"key", "sub_key", "reserved", "access", NULL}; static const char * const _keywords[] = {"key", "sub_key", "reserved", "access", NULL};
@ -679,7 +679,7 @@ winreg_OpenKeyEx_impl(PyObject *module, HKEY key, Py_UNICODE *sub_key,
int reserved, REGSAM access); int reserved, REGSAM access);
static PyObject * static PyObject *
winreg_OpenKeyEx(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) winreg_OpenKeyEx(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"key", "sub_key", "reserved", "access", NULL}; static const char * const _keywords[] = {"key", "sub_key", "reserved", "access", NULL};
@ -767,7 +767,7 @@ static PyObject *
winreg_QueryValue_impl(PyObject *module, HKEY key, Py_UNICODE *sub_key); winreg_QueryValue_impl(PyObject *module, HKEY key, Py_UNICODE *sub_key);
static PyObject * static PyObject *
winreg_QueryValue(PyObject *module, PyObject **args, Py_ssize_t nargs) winreg_QueryValue(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
HKEY key; HKEY key;
@ -806,7 +806,7 @@ static PyObject *
winreg_QueryValueEx_impl(PyObject *module, HKEY key, Py_UNICODE *name); winreg_QueryValueEx_impl(PyObject *module, HKEY key, Py_UNICODE *name);
static PyObject * static PyObject *
winreg_QueryValueEx(PyObject *module, PyObject **args, Py_ssize_t nargs) winreg_QueryValueEx(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
HKEY key; HKEY key;
@ -850,7 +850,7 @@ static PyObject *
winreg_SaveKey_impl(PyObject *module, HKEY key, Py_UNICODE *file_name); winreg_SaveKey_impl(PyObject *module, HKEY key, Py_UNICODE *file_name);
static PyObject * static PyObject *
winreg_SaveKey(PyObject *module, PyObject **args, Py_ssize_t nargs) winreg_SaveKey(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
HKEY key; HKEY key;
@ -901,7 +901,7 @@ winreg_SetValue_impl(PyObject *module, HKEY key, Py_UNICODE *sub_key,
Py_ssize_clean_t value_length); Py_ssize_clean_t value_length);
static PyObject * static PyObject *
winreg_SetValue(PyObject *module, PyObject **args, Py_ssize_t nargs) winreg_SetValue(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
HKEY key; HKEY key;
@ -971,7 +971,7 @@ winreg_SetValueEx_impl(PyObject *module, HKEY key, Py_UNICODE *value_name,
PyObject *reserved, DWORD type, PyObject *value); PyObject *reserved, DWORD type, PyObject *value);
static PyObject * static PyObject *
winreg_SetValueEx(PyObject *module, PyObject **args, Py_ssize_t nargs) winreg_SetValueEx(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
HKEY key; HKEY key;
@ -1091,4 +1091,4 @@ winreg_QueryReflectionKey(PyObject *module, PyObject *arg)
exit: exit:
return return_value; return return_value;
} }
/*[clinic end generated code: output=9f7991a8580bbd93 input=a9049054013a1b77]*/ /*[clinic end generated code: output=d1c8e2678015dd7d input=a9049054013a1b77]*/

View File

@ -20,7 +20,7 @@ static PyObject *
winsound_PlaySound_impl(PyObject *module, PyObject *sound, int flags); winsound_PlaySound_impl(PyObject *module, PyObject *sound, int flags);
static PyObject * static PyObject *
winsound_PlaySound(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) winsound_PlaySound(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"sound", "flags", NULL}; static const char * const _keywords[] = {"sound", "flags", NULL};
@ -57,7 +57,7 @@ static PyObject *
winsound_Beep_impl(PyObject *module, int frequency, int duration); winsound_Beep_impl(PyObject *module, int frequency, int duration);
static PyObject * static PyObject *
winsound_Beep(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) winsound_Beep(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"frequency", "duration", NULL}; static const char * const _keywords[] = {"frequency", "duration", NULL};
@ -90,7 +90,7 @@ static PyObject *
winsound_MessageBeep_impl(PyObject *module, int type); winsound_MessageBeep_impl(PyObject *module, int type);
static PyObject * static PyObject *
winsound_MessageBeep(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) winsound_MessageBeep(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"type", NULL}; static const char * const _keywords[] = {"type", NULL};
@ -106,4 +106,4 @@ winsound_MessageBeep(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObje
exit: exit:
return return_value; return return_value;
} }
/*[clinic end generated code: output=d22e41446929d3ef input=a9049054013a1b77]*/ /*[clinic end generated code: output=beeee8be95667b7d input=a9049054013a1b77]*/

View File

@ -126,7 +126,7 @@ error:
/* AC: cannot convert yet, waiting for *args support */ /* AC: cannot convert yet, waiting for *args support */
static PyObject * static PyObject *
builtin___build_class__(PyObject *self, PyObject **args, Py_ssize_t nargs, builtin___build_class__(PyObject *self, PyObject *const *args, Py_ssize_t nargs,
PyObject *kwnames) PyObject *kwnames)
{ {
PyObject *func, *name, *bases, *mkw, *meta, *winner, *prep, *ns, *orig_bases; PyObject *func, *name, *bases, *mkw, *meta, *winner, *prep, *ns, *orig_bases;
@ -515,7 +515,7 @@ builtin_callable(PyObject *module, PyObject *obj)
} }
static PyObject * static PyObject *
builtin_breakpoint(PyObject *self, PyObject **args, Py_ssize_t nargs, PyObject *keywords) builtin_breakpoint(PyObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *keywords)
{ {
PyObject *hook = PySys_GetObject("breakpointhook"); PyObject *hook = PySys_GetObject("breakpointhook");
@ -1112,7 +1112,7 @@ builtin_exec_impl(PyObject *module, PyObject *source, PyObject *globals,
/* AC: cannot convert yet, as needs PEP 457 group support in inspect */ /* AC: cannot convert yet, as needs PEP 457 group support in inspect */
static PyObject * static PyObject *
builtin_getattr(PyObject *self, PyObject **args, Py_ssize_t nargs) builtin_getattr(PyObject *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *v, *result, *dflt = NULL; PyObject *v, *result, *dflt = NULL;
PyObject *name; PyObject *name;
@ -1417,7 +1417,7 @@ PyTypeObject PyMap_Type = {
/* AC: cannot convert yet, as needs PEP 457 group support in inspect */ /* AC: cannot convert yet, as needs PEP 457 group support in inspect */
static PyObject * static PyObject *
builtin_next(PyObject *self, PyObject **args, Py_ssize_t nargs) builtin_next(PyObject *self, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *it, *res; PyObject *it, *res;
PyObject *def = NULL; PyObject *def = NULL;
@ -1857,7 +1857,7 @@ builtin_pow_impl(PyObject *module, PyObject *x, PyObject *y, PyObject *z)
/* AC: cannot convert yet, waiting for *args support */ /* AC: cannot convert yet, waiting for *args support */
static PyObject * static PyObject *
builtin_print(PyObject *self, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) builtin_print(PyObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
static const char * const _keywords[] = {"sep", "end", "file", "flush", 0}; static const char * const _keywords[] = {"sep", "end", "file", "flush", 0};
static struct _PyArg_Parser _parser = {"|OOOO:print", _keywords, 0}; static struct _PyArg_Parser _parser = {"|OOOO:print", _keywords, 0};
@ -2242,7 +2242,7 @@ PyDoc_STRVAR(builtin_sorted__doc__,
{"sorted", (PyCFunction)builtin_sorted, METH_FASTCALL | METH_KEYWORDS, builtin_sorted__doc__}, {"sorted", (PyCFunction)builtin_sorted, METH_FASTCALL | METH_KEYWORDS, builtin_sorted__doc__},
static PyObject * static PyObject *
builtin_sorted(PyObject *self, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) builtin_sorted(PyObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *newlist, *v, *seq, *callable; PyObject *newlist, *v, *seq, *callable;

View File

@ -3703,10 +3703,10 @@ too_many_positional(PyCodeObject *co, Py_ssize_t given, Py_ssize_t defcount,
PyObject * PyObject *
_PyEval_EvalCodeWithName(PyObject *_co, PyObject *globals, PyObject *locals, _PyEval_EvalCodeWithName(PyObject *_co, PyObject *globals, PyObject *locals,
PyObject **args, Py_ssize_t argcount, PyObject *const *args, Py_ssize_t argcount,
PyObject **kwnames, PyObject **kwargs, PyObject *const *kwnames, PyObject *const *kwargs,
Py_ssize_t kwcount, int kwstep, Py_ssize_t kwcount, int kwstep,
PyObject **defs, Py_ssize_t defcount, PyObject *const *defs, Py_ssize_t defcount,
PyObject *kwdefs, PyObject *closure, PyObject *kwdefs, PyObject *closure,
PyObject *name, PyObject *qualname) PyObject *name, PyObject *qualname)
{ {
@ -3992,8 +3992,10 @@ fail: /* Jump here from prelude on failure */
PyObject * PyObject *
PyEval_EvalCodeEx(PyObject *_co, PyObject *globals, PyObject *locals, PyEval_EvalCodeEx(PyObject *_co, PyObject *globals, PyObject *locals,
PyObject **args, int argcount, PyObject **kws, int kwcount, PyObject *const *args, int argcount,
PyObject **defs, int defcount, PyObject *kwdefs, PyObject *closure) PyObject *const *kws, int kwcount,
PyObject *const *defs, int defcount,
PyObject *kwdefs, PyObject *closure)
{ {
return _PyEval_EvalCodeWithName(_co, globals, locals, return _PyEval_EvalCodeWithName(_co, globals, locals,
args, argcount, args, argcount,

View File

@ -16,7 +16,7 @@ warnings_warn_impl(PyObject *module, PyObject *message, PyObject *category,
Py_ssize_t stacklevel, PyObject *source); Py_ssize_t stacklevel, PyObject *source);
static PyObject * static PyObject *
warnings_warn(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) warnings_warn(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"message", "category", "stacklevel", "source", NULL}; static const char * const _keywords[] = {"message", "category", "stacklevel", "source", NULL};
@ -35,4 +35,4 @@ warnings_warn(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwn
exit: exit:
return return_value; return return_value;
} }
/*[clinic end generated code: output=74b1a7d1ee41816d input=a9049054013a1b77]*/ /*[clinic end generated code: output=86369ece63001d78 input=a9049054013a1b77]*/

View File

@ -88,7 +88,7 @@ static PyObject *
builtin_format_impl(PyObject *module, PyObject *value, PyObject *format_spec); builtin_format_impl(PyObject *module, PyObject *value, PyObject *format_spec);
static PyObject * static PyObject *
builtin_format(PyObject *module, PyObject **args, Py_ssize_t nargs) builtin_format(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *value; PyObject *value;
@ -158,7 +158,7 @@ builtin_compile_impl(PyObject *module, PyObject *source, PyObject *filename,
int optimize); int optimize);
static PyObject * static PyObject *
builtin_compile(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) builtin_compile(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"source", "filename", "mode", "flags", "dont_inherit", "optimize", NULL}; static const char * const _keywords[] = {"source", "filename", "mode", "flags", "dont_inherit", "optimize", NULL};
@ -193,7 +193,7 @@ static PyObject *
builtin_divmod_impl(PyObject *module, PyObject *x, PyObject *y); builtin_divmod_impl(PyObject *module, PyObject *x, PyObject *y);
static PyObject * static PyObject *
builtin_divmod(PyObject *module, PyObject **args, Py_ssize_t nargs) builtin_divmod(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *x; PyObject *x;
@ -230,7 +230,7 @@ builtin_eval_impl(PyObject *module, PyObject *source, PyObject *globals,
PyObject *locals); PyObject *locals);
static PyObject * static PyObject *
builtin_eval(PyObject *module, PyObject **args, Py_ssize_t nargs) builtin_eval(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *source; PyObject *source;
@ -268,7 +268,7 @@ builtin_exec_impl(PyObject *module, PyObject *source, PyObject *globals,
PyObject *locals); PyObject *locals);
static PyObject * static PyObject *
builtin_exec(PyObject *module, PyObject **args, Py_ssize_t nargs) builtin_exec(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *source; PyObject *source;
@ -322,7 +322,7 @@ static PyObject *
builtin_hasattr_impl(PyObject *module, PyObject *obj, PyObject *name); builtin_hasattr_impl(PyObject *module, PyObject *obj, PyObject *name);
static PyObject * static PyObject *
builtin_hasattr(PyObject *module, PyObject **args, Py_ssize_t nargs) builtin_hasattr(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *obj; PyObject *obj;
@ -367,7 +367,7 @@ builtin_setattr_impl(PyObject *module, PyObject *obj, PyObject *name,
PyObject *value); PyObject *value);
static PyObject * static PyObject *
builtin_setattr(PyObject *module, PyObject **args, Py_ssize_t nargs) builtin_setattr(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *obj; PyObject *obj;
@ -400,7 +400,7 @@ static PyObject *
builtin_delattr_impl(PyObject *module, PyObject *obj, PyObject *name); builtin_delattr_impl(PyObject *module, PyObject *obj, PyObject *name);
static PyObject * static PyObject *
builtin_delattr(PyObject *module, PyObject **args, Py_ssize_t nargs) builtin_delattr(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *obj; PyObject *obj;
@ -509,7 +509,7 @@ static PyObject *
builtin_pow_impl(PyObject *module, PyObject *x, PyObject *y, PyObject *z); builtin_pow_impl(PyObject *module, PyObject *x, PyObject *y, PyObject *z);
static PyObject * static PyObject *
builtin_pow(PyObject *module, PyObject **args, Py_ssize_t nargs) builtin_pow(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *x; PyObject *x;
@ -546,7 +546,7 @@ static PyObject *
builtin_input_impl(PyObject *module, PyObject *prompt); builtin_input_impl(PyObject *module, PyObject *prompt);
static PyObject * static PyObject *
builtin_input(PyObject *module, PyObject **args, Py_ssize_t nargs) builtin_input(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *prompt = NULL; PyObject *prompt = NULL;
@ -589,7 +589,7 @@ static PyObject *
builtin_round_impl(PyObject *module, PyObject *number, PyObject *ndigits); builtin_round_impl(PyObject *module, PyObject *number, PyObject *ndigits);
static PyObject * static PyObject *
builtin_round(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) builtin_round(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"number", "ndigits", NULL}; static const char * const _keywords[] = {"number", "ndigits", NULL};
@ -624,7 +624,7 @@ static PyObject *
builtin_sum_impl(PyObject *module, PyObject *iterable, PyObject *start); builtin_sum_impl(PyObject *module, PyObject *iterable, PyObject *start);
static PyObject * static PyObject *
builtin_sum(PyObject *module, PyObject **args, Py_ssize_t nargs) builtin_sum(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *iterable; PyObject *iterable;
@ -659,7 +659,7 @@ builtin_isinstance_impl(PyObject *module, PyObject *obj,
PyObject *class_or_tuple); PyObject *class_or_tuple);
static PyObject * static PyObject *
builtin_isinstance(PyObject *module, PyObject **args, Py_ssize_t nargs) builtin_isinstance(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *obj; PyObject *obj;
@ -694,7 +694,7 @@ builtin_issubclass_impl(PyObject *module, PyObject *cls,
PyObject *class_or_tuple); PyObject *class_or_tuple);
static PyObject * static PyObject *
builtin_issubclass(PyObject *module, PyObject **args, Py_ssize_t nargs) builtin_issubclass(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *cls; PyObject *cls;
@ -710,4 +710,4 @@ builtin_issubclass(PyObject *module, PyObject **args, Py_ssize_t nargs)
exit: exit:
return return_value; return return_value;
} }
/*[clinic end generated code: output=d46a224ac804eef1 input=a9049054013a1b77]*/ /*[clinic end generated code: output=9f17c7a87d740374 input=a9049054013a1b77]*/

View File

@ -82,7 +82,7 @@ _imp__fix_co_filename_impl(PyObject *module, PyCodeObject *code,
PyObject *path); PyObject *path);
static PyObject * static PyObject *
_imp__fix_co_filename(PyObject *module, PyObject **args, Py_ssize_t nargs) _imp__fix_co_filename(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyCodeObject *code; PyCodeObject *code;
@ -275,7 +275,7 @@ static PyObject *
_imp_create_dynamic_impl(PyObject *module, PyObject *spec, PyObject *file); _imp_create_dynamic_impl(PyObject *module, PyObject *spec, PyObject *file);
static PyObject * static PyObject *
_imp_create_dynamic(PyObject *module, PyObject **args, Py_ssize_t nargs) _imp_create_dynamic(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *spec; PyObject *spec;
@ -366,7 +366,7 @@ static PyObject *
_imp_source_hash_impl(PyObject *module, long key, Py_buffer *source); _imp_source_hash_impl(PyObject *module, long key, Py_buffer *source);
static PyObject * static PyObject *
_imp_source_hash(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) _imp_source_hash(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
static const char * const _keywords[] = {"key", "source", NULL}; static const char * const _keywords[] = {"key", "source", NULL};
@ -396,4 +396,4 @@ exit:
#ifndef _IMP_EXEC_DYNAMIC_METHODDEF #ifndef _IMP_EXEC_DYNAMIC_METHODDEF
#define _IMP_EXEC_DYNAMIC_METHODDEF #define _IMP_EXEC_DYNAMIC_METHODDEF
#endif /* !defined(_IMP_EXEC_DYNAMIC_METHODDEF) */ #endif /* !defined(_IMP_EXEC_DYNAMIC_METHODDEF) */
/*[clinic end generated code: output=e8b2c0b0d0a75da8 input=a9049054013a1b77]*/ /*[clinic end generated code: output=f0660cd1de6b3a73 input=a9049054013a1b77]*/

View File

@ -27,7 +27,7 @@ marshal_dump_impl(PyObject *module, PyObject *value, PyObject *file,
int version); int version);
static PyObject * static PyObject *
marshal_dump(PyObject *module, PyObject **args, Py_ssize_t nargs) marshal_dump(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *value; PyObject *value;
@ -84,7 +84,7 @@ static PyObject *
marshal_dumps_impl(PyObject *module, PyObject *value, int version); marshal_dumps_impl(PyObject *module, PyObject *value, int version);
static PyObject * static PyObject *
marshal_dumps(PyObject *module, PyObject **args, Py_ssize_t nargs) marshal_dumps(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{ {
PyObject *return_value = NULL; PyObject *return_value = NULL;
PyObject *value; PyObject *value;
@ -134,4 +134,4 @@ exit:
return return_value; return return_value;
} }
/*[clinic end generated code: output=15e284a34abfd26a input=a9049054013a1b77]*/ /*[clinic end generated code: output=584eb2222d86fdc3 input=a9049054013a1b77]*/

View File

@ -27,9 +27,10 @@ int _PyArg_VaParseTupleAndKeywordsFast(PyObject *, PyObject *,
#ifdef HAVE_DECLSPEC_DLL #ifdef HAVE_DECLSPEC_DLL
/* Export functions */ /* Export functions */
PyAPI_FUNC(int) _PyArg_Parse_SizeT(PyObject *, const char *, ...); PyAPI_FUNC(int) _PyArg_Parse_SizeT(PyObject *, const char *, ...);
PyAPI_FUNC(int) _PyArg_ParseStack_SizeT(PyObject **args, Py_ssize_t nargs, PyAPI_FUNC(int) _PyArg_ParseStack_SizeT(PyObject *const *args, Py_ssize_t nargs,
const char *format, ...); const char *format, ...);
PyAPI_FUNC(int) _PyArg_ParseStackAndKeywords_SizeT(PyObject **args, Py_ssize_t nargs, PyObject *kwnames, PyAPI_FUNC(int) _PyArg_ParseStackAndKeywords_SizeT(PyObject *const *args, Py_ssize_t nargs,
PyObject *kwnames,
struct _PyArg_Parser *parser, ...); struct _PyArg_Parser *parser, ...);
PyAPI_FUNC(int) _PyArg_ParseTuple_SizeT(PyObject *, const char *, ...); PyAPI_FUNC(int) _PyArg_ParseTuple_SizeT(PyObject *, const char *, ...);
PyAPI_FUNC(int) _PyArg_ParseTupleAndKeywords_SizeT(PyObject *, PyObject *, PyAPI_FUNC(int) _PyArg_ParseTupleAndKeywords_SizeT(PyObject *, PyObject *,
@ -69,7 +70,7 @@ typedef struct {
#define STATIC_FREELIST_ENTRIES 8 #define STATIC_FREELIST_ENTRIES 8
/* Forward */ /* Forward */
static int vgetargs1_impl(PyObject *args, PyObject **stack, Py_ssize_t nargs, static int vgetargs1_impl(PyObject *args, PyObject *const *stack, Py_ssize_t nargs,
const char *format, va_list *p_va, int flags); const char *format, va_list *p_va, int flags);
static int vgetargs1(PyObject *, const char *, va_list *, int); static int vgetargs1(PyObject *, const char *, va_list *, int);
static void seterror(Py_ssize_t, const char *, int *, const char *, const char *); static void seterror(Py_ssize_t, const char *, int *, const char *, const char *);
@ -86,7 +87,7 @@ static int vgetargskeywords(PyObject *, PyObject *,
const char *, char **, va_list *, int); const char *, char **, va_list *, int);
static int vgetargskeywordsfast(PyObject *, PyObject *, static int vgetargskeywordsfast(PyObject *, PyObject *,
struct _PyArg_Parser *, va_list *, int); struct _PyArg_Parser *, va_list *, int);
static int vgetargskeywordsfast_impl(PyObject **args, Py_ssize_t nargs, static int vgetargskeywordsfast_impl(PyObject *const *args, Py_ssize_t nargs,
PyObject *keywords, PyObject *kwnames, PyObject *keywords, PyObject *kwnames,
struct _PyArg_Parser *parser, struct _PyArg_Parser *parser,
va_list *p_va, int flags); va_list *p_va, int flags);
@ -143,7 +144,7 @@ _PyArg_ParseTuple_SizeT(PyObject *args, const char *format, ...)
int int
_PyArg_ParseStack(PyObject **args, Py_ssize_t nargs, const char *format, ...) _PyArg_ParseStack(PyObject *const *args, Py_ssize_t nargs, const char *format, ...)
{ {
int retval; int retval;
va_list va; va_list va;
@ -155,7 +156,7 @@ _PyArg_ParseStack(PyObject **args, Py_ssize_t nargs, const char *format, ...)
} }
int int
_PyArg_ParseStack_SizeT(PyObject **args, Py_ssize_t nargs, const char *format, ...) _PyArg_ParseStack_SizeT(PyObject *const *args, Py_ssize_t nargs, const char *format, ...)
{ {
int retval; int retval;
va_list va; va_list va;
@ -250,7 +251,7 @@ cleanreturn(int retval, freelist_t *freelist)
static int static int
vgetargs1_impl(PyObject *compat_args, PyObject **stack, Py_ssize_t nargs, const char *format, vgetargs1_impl(PyObject *compat_args, PyObject *const *stack, Py_ssize_t nargs, const char *format,
va_list *p_va, int flags) va_list *p_va, int flags)
{ {
char msgbuf[256]; char msgbuf[256];
@ -1522,7 +1523,7 @@ _PyArg_ParseTupleAndKeywordsFast_SizeT(PyObject *args, PyObject *keywords,
} }
int int
_PyArg_ParseStackAndKeywords(PyObject **args, Py_ssize_t nargs, PyObject *kwnames, _PyArg_ParseStackAndKeywords(PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames,
struct _PyArg_Parser *parser, ...) struct _PyArg_Parser *parser, ...)
{ {
int retval; int retval;
@ -1535,7 +1536,7 @@ _PyArg_ParseStackAndKeywords(PyObject **args, Py_ssize_t nargs, PyObject *kwname
} }
int int
_PyArg_ParseStackAndKeywords_SizeT(PyObject **args, Py_ssize_t nargs, PyObject *kwnames, _PyArg_ParseStackAndKeywords_SizeT(PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames,
struct _PyArg_Parser *parser, ...) struct _PyArg_Parser *parser, ...)
{ {
int retval; int retval;
@ -1988,7 +1989,7 @@ parser_clear(struct _PyArg_Parser *parser)
} }
static PyObject* static PyObject*
find_keyword(PyObject *kwargs, PyObject *kwnames, PyObject **kwstack, PyObject *key) find_keyword(PyObject *kwargs, PyObject *kwnames, PyObject *const *kwstack, PyObject *key)
{ {
Py_ssize_t i, nkwargs; Py_ssize_t i, nkwargs;
@ -2017,7 +2018,7 @@ find_keyword(PyObject *kwargs, PyObject *kwnames, PyObject **kwstack, PyObject *
} }
static int static int
vgetargskeywordsfast_impl(PyObject **args, Py_ssize_t nargs, vgetargskeywordsfast_impl(PyObject *const *args, Py_ssize_t nargs,
PyObject *kwargs, PyObject *kwnames, PyObject *kwargs, PyObject *kwnames,
struct _PyArg_Parser *parser, struct _PyArg_Parser *parser,
va_list *p_va, int flags) va_list *p_va, int flags)
@ -2033,7 +2034,7 @@ vgetargskeywordsfast_impl(PyObject **args, Py_ssize_t nargs,
PyObject *current_arg; PyObject *current_arg;
freelistentry_t static_entries[STATIC_FREELIST_ENTRIES]; freelistentry_t static_entries[STATIC_FREELIST_ENTRIES];
freelist_t freelist; freelist_t freelist;
PyObject **kwstack = NULL; PyObject *const *kwstack = NULL;
freelist.entries = static_entries; freelist.entries = static_entries;
freelist.first_available = 0; freelist.first_available = 0;
@ -2395,7 +2396,7 @@ err:
static int static int
unpack_stack(PyObject **args, Py_ssize_t nargs, const char *name, unpack_stack(PyObject *const *args, Py_ssize_t nargs, const char *name,
Py_ssize_t min, Py_ssize_t max, va_list vargs) Py_ssize_t min, Py_ssize_t max, va_list vargs)
{ {
Py_ssize_t i; Py_ssize_t i;
@ -2472,7 +2473,7 @@ PyArg_UnpackTuple(PyObject *args, const char *name, Py_ssize_t min, Py_ssize_t m
} }
int int
_PyArg_UnpackStack(PyObject **args, Py_ssize_t nargs, const char *name, _PyArg_UnpackStack(PyObject *const *args, Py_ssize_t nargs, const char *name,
Py_ssize_t min, Py_ssize_t max, ...) Py_ssize_t min, Py_ssize_t max, ...)
{ {
int retval; int retval;

View File

@ -97,7 +97,7 @@ PySys_SetObject(const char *name, PyObject *v)
} }
static PyObject * static PyObject *
sys_breakpointhook(PyObject *self, PyObject **args, Py_ssize_t nargs, PyObject *keywords) sys_breakpointhook(PyObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *keywords)
{ {
assert(!PyErr_Occurred()); assert(!PyErr_Occurred());
const char *envar = Py_GETENV("PYTHONBREAKPOINT"); const char *envar = Py_GETENV("PYTHONBREAKPOINT");

View File

@ -710,12 +710,12 @@ class CLanguage(Language):
parser_prototype_fastcall = normalize_snippet(""" parser_prototype_fastcall = normalize_snippet("""
static PyObject * static PyObject *
{c_basename}({self_type}{self_name}, PyObject **args, Py_ssize_t nargs) {c_basename}({self_type}{self_name}, PyObject *const *args, Py_ssize_t nargs)
""") """)
parser_prototype_fastcall_keywords = normalize_snippet(""" parser_prototype_fastcall_keywords = normalize_snippet("""
static PyObject * static PyObject *
{c_basename}({self_type}{self_name}, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) {c_basename}({self_type}{self_name}, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
""") """)
# parser_body_fields remembers the fields passed in to the # parser_body_fields remembers the fields passed in to the