summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
Diffstat (limited to 'Modules')
-rw-r--r--Modules/_io/clinic/_iomodule.c.h5
-rw-r--r--Modules/_io/clinic/bufferedio.c.h50
-rw-r--r--Modules/_io/clinic/bytesio.c.h12
-rw-r--r--Modules/_io/clinic/fileio.c.h19
-rw-r--r--Modules/_io/clinic/iobase.c.h11
-rw-r--r--Modules/_io/clinic/stringio.c.h8
-rw-r--r--Modules/_io/clinic/textio.c.h24
-rw-r--r--Modules/cjkcodecs/clinic/multibytecodec.c.h14
-rw-r--r--Modules/clinic/_bz2module.c.h12
-rw-r--r--Modules/clinic/_codecsmodule.c.h6
-rw-r--r--Modules/clinic/_cryptmodule.c.h5
-rw-r--r--Modules/clinic/_datetimemodule.c.h5
-rw-r--r--Modules/clinic/_dbmmodule.c.h11
-rw-r--r--Modules/clinic/_gdbmmodule.c.h9
-rw-r--r--Modules/clinic/_lzmamodule.c.h23
-rw-r--r--Modules/clinic/_opcode.c.h5
-rw-r--r--Modules/clinic/_pickle.c.h20
-rw-r--r--Modules/clinic/arraymodule.c.h26
-rw-r--r--Modules/clinic/audioop.c.h80
-rw-r--r--Modules/clinic/binascii.c.h62
-rw-r--r--Modules/clinic/cmathmodule.c.h88
-rw-r--r--Modules/clinic/fcntlmodule.c.h14
-rw-r--r--Modules/clinic/grpmodule.c.h8
-rw-r--r--Modules/clinic/md5module.c.h5
-rw-r--r--Modules/clinic/posixmodule.c.h406
-rw-r--r--Modules/clinic/pwdmodule.c.h6
-rw-r--r--Modules/clinic/pyexpat.c.h26
-rw-r--r--Modules/clinic/sha1module.c.h5
-rw-r--r--Modules/clinic/sha256module.c.h8
-rw-r--r--Modules/clinic/sha512module.c.h8
-rw-r--r--Modules/clinic/spwdmodule.c.h6
-rw-r--r--Modules/clinic/unicodedata.c.h45
-rw-r--r--Modules/clinic/zlibmodule.c.h33
33 files changed, 335 insertions, 730 deletions
diff --git a/Modules/_io/clinic/_iomodule.c.h b/Modules/_io/clinic/_iomodule.c.h
index df877a5..a3abb93 100644
--- a/Modules/_io/clinic/_iomodule.c.h
+++ b/Modules/_io/clinic/_iomodule.c.h
@@ -148,8 +148,7 @@ _io_open(PyModuleDef *module, PyObject *args, PyObject *kwargs)
int closefd = 1;
PyObject *opener = Py_None;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "O|sizzziO:open", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O|sizzziO:open", _keywords,
&file, &mode, &buffering, &encoding, &errors, &newline, &closefd, &opener))
goto exit;
return_value = _io_open_impl(module, file, mode, buffering, encoding, errors, newline, closefd, opener);
@@ -157,4 +156,4 @@ _io_open(PyModuleDef *module, PyObject *args, PyObject *kwargs)
exit:
return return_value;
}
-/*[clinic end generated code: output=c51a5a443c11f02b input=a9049054013a1b77]*/
+/*[clinic end generated code: output=97cdc09bf68a8064 input=a9049054013a1b77]*/
diff --git a/Modules/_io/clinic/bufferedio.c.h b/Modules/_io/clinic/bufferedio.c.h
index b79b8d5..437e275 100644
--- a/Modules/_io/clinic/bufferedio.c.h
+++ b/Modules/_io/clinic/bufferedio.c.h
@@ -19,9 +19,7 @@ _io__BufferedIOBase_readinto(PyObject *self, PyObject *arg)
PyObject *return_value = NULL;
Py_buffer buffer = {NULL, NULL};
- if (!PyArg_Parse(arg,
- "w*:readinto",
- &buffer))
+ if (!PyArg_Parse(arg, "w*:readinto", &buffer))
goto exit;
return_value = _io__BufferedIOBase_readinto_impl(self, &buffer);
@@ -50,9 +48,7 @@ _io__BufferedIOBase_readinto1(PyObject *self, PyObject *arg)
PyObject *return_value = NULL;
Py_buffer buffer = {NULL, NULL};
- if (!PyArg_Parse(arg,
- "w*:readinto1",
- &buffer))
+ if (!PyArg_Parse(arg, "w*:readinto1", &buffer))
goto exit;
return_value = _io__BufferedIOBase_readinto1_impl(self, &buffer);
@@ -102,8 +98,7 @@ _io__Buffered_peek(buffered *self, PyObject *args)
PyObject *return_value = NULL;
Py_ssize_t size = 0;
- if (!PyArg_ParseTuple(args,
- "|n:peek",
+ if (!PyArg_ParseTuple(args, "|n:peek",
&size))
goto exit;
return_value = _io__Buffered_peek_impl(self, size);
@@ -129,8 +124,7 @@ _io__Buffered_read(buffered *self, PyObject *args)
PyObject *return_value = NULL;
Py_ssize_t n = -1;
- if (!PyArg_ParseTuple(args,
- "|O&:read",
+ if (!PyArg_ParseTuple(args, "|O&:read",
_PyIO_ConvertSsize_t, &n))
goto exit;
return_value = _io__Buffered_read_impl(self, n);
@@ -156,9 +150,7 @@ _io__Buffered_read1(buffered *self, PyObject *arg)
PyObject *return_value = NULL;
Py_ssize_t n;
- if (!PyArg_Parse(arg,
- "n:read1",
- &n))
+ if (!PyArg_Parse(arg, "n:read1", &n))
goto exit;
return_value = _io__Buffered_read1_impl(self, n);
@@ -183,9 +175,7 @@ _io__Buffered_readinto(buffered *self, PyObject *arg)
PyObject *return_value = NULL;
Py_buffer buffer = {NULL, NULL};
- if (!PyArg_Parse(arg,
- "w*:readinto",
- &buffer))
+ if (!PyArg_Parse(arg, "w*:readinto", &buffer))
goto exit;
return_value = _io__Buffered_readinto_impl(self, &buffer);
@@ -214,9 +204,7 @@ _io__Buffered_readinto1(buffered *self, PyObject *arg)
PyObject *return_value = NULL;
Py_buffer buffer = {NULL, NULL};
- if (!PyArg_Parse(arg,
- "w*:readinto1",
- &buffer))
+ if (!PyArg_Parse(arg, "w*:readinto1", &buffer))
goto exit;
return_value = _io__Buffered_readinto1_impl(self, &buffer);
@@ -245,8 +233,7 @@ _io__Buffered_readline(buffered *self, PyObject *args)
PyObject *return_value = NULL;
Py_ssize_t size = -1;
- if (!PyArg_ParseTuple(args,
- "|O&:readline",
+ if (!PyArg_ParseTuple(args, "|O&:readline",
_PyIO_ConvertSsize_t, &size))
goto exit;
return_value = _io__Buffered_readline_impl(self, size);
@@ -273,8 +260,7 @@ _io__Buffered_seek(buffered *self, PyObject *args)
PyObject *targetobj;
int whence = 0;
- if (!PyArg_ParseTuple(args,
- "O|i:seek",
+ if (!PyArg_ParseTuple(args, "O|i:seek",
&targetobj, &whence))
goto exit;
return_value = _io__Buffered_seek_impl(self, targetobj, whence);
@@ -328,8 +314,7 @@ _io_BufferedReader___init__(PyObject *self, PyObject *args, PyObject *kwargs)
PyObject *raw;
Py_ssize_t buffer_size = DEFAULT_BUFFER_SIZE;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "O|n:BufferedReader", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O|n:BufferedReader", _keywords,
&raw, &buffer_size))
goto exit;
return_value = _io_BufferedReader___init___impl((buffered *)self, raw, buffer_size);
@@ -360,8 +345,7 @@ _io_BufferedWriter___init__(PyObject *self, PyObject *args, PyObject *kwargs)
PyObject *raw;
Py_ssize_t buffer_size = DEFAULT_BUFFER_SIZE;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "O|n:BufferedWriter", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O|n:BufferedWriter", _keywords,
&raw, &buffer_size))
goto exit;
return_value = _io_BufferedWriter___init___impl((buffered *)self, raw, buffer_size);
@@ -387,9 +371,7 @@ _io_BufferedWriter_write(buffered *self, PyObject *arg)
PyObject *return_value = NULL;
Py_buffer buffer = {NULL, NULL};
- if (!PyArg_Parse(arg,
- "y*:write",
- &buffer))
+ if (!PyArg_Parse(arg, "y*:write", &buffer))
goto exit;
return_value = _io_BufferedWriter_write_impl(self, &buffer);
@@ -430,8 +412,7 @@ _io_BufferedRWPair___init__(PyObject *self, PyObject *args, PyObject *kwargs)
if ((Py_TYPE(self) == &PyBufferedRWPair_Type) &&
!_PyArg_NoKeywords("BufferedRWPair", kwargs))
goto exit;
- if (!PyArg_ParseTuple(args,
- "OO|n:BufferedRWPair",
+ if (!PyArg_ParseTuple(args, "OO|n:BufferedRWPair",
&reader, &writer, &buffer_size))
goto exit;
return_value = _io_BufferedRWPair___init___impl((rwpair *)self, reader, writer, buffer_size);
@@ -462,8 +443,7 @@ _io_BufferedRandom___init__(PyObject *self, PyObject *args, PyObject *kwargs)
PyObject *raw;
Py_ssize_t buffer_size = DEFAULT_BUFFER_SIZE;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "O|n:BufferedRandom", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O|n:BufferedRandom", _keywords,
&raw, &buffer_size))
goto exit;
return_value = _io_BufferedRandom___init___impl((buffered *)self, raw, buffer_size);
@@ -471,4 +451,4 @@ _io_BufferedRandom___init__(PyObject *self, PyObject *args, PyObject *kwargs)
exit:
return return_value;
}
-/*[clinic end generated code: output=78808e39f36e3fa9 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=2bbb5e239b4ffe6f input=a9049054013a1b77]*/
diff --git a/Modules/_io/clinic/bytesio.c.h b/Modules/_io/clinic/bytesio.c.h
index 695c46a..1ab1d65 100644
--- a/Modules/_io/clinic/bytesio.c.h
+++ b/Modules/_io/clinic/bytesio.c.h
@@ -276,9 +276,7 @@ _io_BytesIO_readinto(bytesio *self, PyObject *arg)
PyObject *return_value = NULL;
Py_buffer buffer = {NULL, NULL};
- if (!PyArg_Parse(arg,
- "w*:readinto",
- &buffer))
+ if (!PyArg_Parse(arg, "w*:readinto", &buffer))
goto exit;
return_value = _io_BytesIO_readinto_impl(self, &buffer);
@@ -346,8 +344,7 @@ _io_BytesIO_seek(bytesio *self, PyObject *args)
Py_ssize_t pos;
int whence = 0;
- if (!PyArg_ParseTuple(args,
- "n|i:seek",
+ if (!PyArg_ParseTuple(args, "n|i:seek",
&pos, &whence))
goto exit;
return_value = _io_BytesIO_seek_impl(self, pos, whence);
@@ -414,8 +411,7 @@ _io_BytesIO___init__(PyObject *self, PyObject *args, PyObject *kwargs)
static char *_keywords[] = {"initial_bytes", NULL};
PyObject *initvalue = NULL;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "|O:BytesIO", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|O:BytesIO", _keywords,
&initvalue))
goto exit;
return_value = _io_BytesIO___init___impl((bytesio *)self, initvalue);
@@ -423,4 +419,4 @@ _io_BytesIO___init__(PyObject *self, PyObject *args, PyObject *kwargs)
exit:
return return_value;
}
-/*[clinic end generated code: output=e22697ada514f4eb input=a9049054013a1b77]*/
+/*[clinic end generated code: output=500ccc149587fac4 input=a9049054013a1b77]*/
diff --git a/Modules/_io/clinic/fileio.c.h b/Modules/_io/clinic/fileio.c.h
index bb68cc9..4a1205e 100644
--- a/Modules/_io/clinic/fileio.c.h
+++ b/Modules/_io/clinic/fileio.c.h
@@ -55,8 +55,7 @@ _io_FileIO___init__(PyObject *self, PyObject *args, PyObject *kwargs)
int closefd = 1;
PyObject *opener = Py_None;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "O|siO:FileIO", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O|siO:FileIO", _keywords,
&nameobj, &mode, &closefd, &opener))
goto exit;
return_value = _io_FileIO___init___impl((fileio *)self, nameobj, mode, closefd, opener);
@@ -155,9 +154,7 @@ _io_FileIO_readinto(fileio *self, PyObject *arg)
PyObject *return_value = NULL;
Py_buffer buffer = {NULL, NULL};
- if (!PyArg_Parse(arg,
- "w*:readinto",
- &buffer))
+ if (!PyArg_Parse(arg, "w*:readinto", &buffer))
goto exit;
return_value = _io_FileIO_readinto_impl(self, &buffer);
@@ -212,8 +209,7 @@ _io_FileIO_read(fileio *self, PyObject *args)
PyObject *return_value = NULL;
Py_ssize_t size = -1;
- if (!PyArg_ParseTuple(args,
- "|O&:read",
+ if (!PyArg_ParseTuple(args, "|O&:read",
_PyIO_ConvertSsize_t, &size))
goto exit;
return_value = _io_FileIO_read_impl(self, size);
@@ -244,9 +240,7 @@ _io_FileIO_write(fileio *self, PyObject *arg)
PyObject *return_value = NULL;
Py_buffer b = {NULL, NULL};
- if (!PyArg_Parse(arg,
- "y*:write",
- &b))
+ if (!PyArg_Parse(arg, "y*:write", &b))
goto exit;
return_value = _io_FileIO_write_impl(self, &b);
@@ -285,8 +279,7 @@ _io_FileIO_seek(fileio *self, PyObject *args)
PyObject *pos;
int whence = 0;
- if (!PyArg_ParseTuple(args,
- "O|i:seek",
+ if (!PyArg_ParseTuple(args, "O|i:seek",
&pos, &whence))
goto exit;
return_value = _io_FileIO_seek_impl(self, pos, whence);
@@ -371,4 +364,4 @@ _io_FileIO_isatty(fileio *self, PyObject *Py_UNUSED(ignored))
#ifndef _IO_FILEIO_TRUNCATE_METHODDEF
#define _IO_FILEIO_TRUNCATE_METHODDEF
#endif /* !defined(_IO_FILEIO_TRUNCATE_METHODDEF) */
-/*[clinic end generated code: output=c6708e1980f6e02d input=a9049054013a1b77]*/
+/*[clinic end generated code: output=b1a20b10c81add64 input=a9049054013a1b77]*/
diff --git a/Modules/_io/clinic/iobase.c.h b/Modules/_io/clinic/iobase.c.h
index ce47faa..3cea079 100644
--- a/Modules/_io/clinic/iobase.c.h
+++ b/Modules/_io/clinic/iobase.c.h
@@ -185,8 +185,7 @@ _io__IOBase_readline(PyObject *self, PyObject *args)
PyObject *return_value = NULL;
Py_ssize_t limit = -1;
- if (!PyArg_ParseTuple(args,
- "|O&:readline",
+ if (!PyArg_ParseTuple(args, "|O&:readline",
_PyIO_ConvertSsize_t, &limit))
goto exit;
return_value = _io__IOBase_readline_impl(self, limit);
@@ -217,8 +216,7 @@ _io__IOBase_readlines(PyObject *self, PyObject *args)
PyObject *return_value = NULL;
Py_ssize_t hint = -1;
- if (!PyArg_ParseTuple(args,
- "|O&:readlines",
+ if (!PyArg_ParseTuple(args, "|O&:readlines",
_PyIO_ConvertSsize_t, &hint))
goto exit;
return_value = _io__IOBase_readlines_impl(self, hint);
@@ -252,8 +250,7 @@ _io__RawIOBase_read(PyObject *self, PyObject *args)
PyObject *return_value = NULL;
Py_ssize_t n = -1;
- if (!PyArg_ParseTuple(args,
- "|n:read",
+ if (!PyArg_ParseTuple(args, "|n:read",
&n))
goto exit;
return_value = _io__RawIOBase_read_impl(self, n);
@@ -279,4 +276,4 @@ _io__RawIOBase_readall(PyObject *self, PyObject *Py_UNUSED(ignored))
{
return _io__RawIOBase_readall_impl(self);
}
-/*[clinic end generated code: output=84eef4b7541f54b7 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=fe034152b6884e65 input=a9049054013a1b77]*/
diff --git a/Modules/_io/clinic/stringio.c.h b/Modules/_io/clinic/stringio.c.h
index b830c6d..a8e32a3 100644
--- a/Modules/_io/clinic/stringio.c.h
+++ b/Modules/_io/clinic/stringio.c.h
@@ -156,8 +156,7 @@ _io_StringIO_seek(stringio *self, PyObject *args)
Py_ssize_t pos;
int whence = 0;
- if (!PyArg_ParseTuple(args,
- "n|i:seek",
+ if (!PyArg_ParseTuple(args, "n|i:seek",
&pos, &whence))
goto exit;
return_value = _io_StringIO_seek_impl(self, pos, whence);
@@ -222,8 +221,7 @@ _io_StringIO___init__(PyObject *self, PyObject *args, PyObject *kwargs)
PyObject *value = NULL;
PyObject *newline_obj = NULL;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "|OO:StringIO", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|OO:StringIO", _keywords,
&value, &newline_obj))
goto exit;
return_value = _io_StringIO___init___impl((stringio *)self, value, newline_obj);
@@ -285,4 +283,4 @@ _io_StringIO_seekable(stringio *self, PyObject *Py_UNUSED(ignored))
{
return _io_StringIO_seekable_impl(self);
}
-/*[clinic end generated code: output=f3062096d357c652 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=f061cf3a20cd14ed input=a9049054013a1b77]*/
diff --git a/Modules/_io/clinic/textio.c.h b/Modules/_io/clinic/textio.c.h
index 62603bd..dc7e8c7 100644
--- a/Modules/_io/clinic/textio.c.h
+++ b/Modules/_io/clinic/textio.c.h
@@ -29,8 +29,7 @@ _io_IncrementalNewlineDecoder___init__(PyObject *self, PyObject *args, PyObject
int translate;
PyObject *errors = NULL;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "Oi|O:IncrementalNewlineDecoder", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "Oi|O:IncrementalNewlineDecoder", _keywords,
&decoder, &translate, &errors))
goto exit;
return_value = _io_IncrementalNewlineDecoder___init___impl((nldecoder_object *)self, decoder, translate, errors);
@@ -59,8 +58,7 @@ _io_IncrementalNewlineDecoder_decode(nldecoder_object *self, PyObject *args, PyO
PyObject *input;
int final = 0;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "O|i:decode", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O|i:decode", _keywords,
&input, &final))
goto exit;
return_value = _io_IncrementalNewlineDecoder_decode_impl(self, input, final);
@@ -163,8 +161,7 @@ _io_TextIOWrapper___init__(PyObject *self, PyObject *args, PyObject *kwargs)
int line_buffering = 0;
int write_through = 0;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "O|zzzii:TextIOWrapper", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O|zzzii:TextIOWrapper", _keywords,
&buffer, &encoding, &errors, &newline, &line_buffering, &write_through))
goto exit;
return_value = _io_TextIOWrapper___init___impl((textio *)self, buffer, encoding, errors, newline, line_buffering, write_through);
@@ -207,9 +204,7 @@ _io_TextIOWrapper_write(textio *self, PyObject *arg)
PyObject *return_value = NULL;
PyObject *text;
- if (!PyArg_Parse(arg,
- "U:write",
- &text))
+ if (!PyArg_Parse(arg, "U:write", &text))
goto exit;
return_value = _io_TextIOWrapper_write_impl(self, text);
@@ -234,8 +229,7 @@ _io_TextIOWrapper_read(textio *self, PyObject *args)
PyObject *return_value = NULL;
Py_ssize_t n = -1;
- if (!PyArg_ParseTuple(args,
- "|O&:read",
+ if (!PyArg_ParseTuple(args, "|O&:read",
_PyIO_ConvertSsize_t, &n))
goto exit;
return_value = _io_TextIOWrapper_read_impl(self, n);
@@ -261,8 +255,7 @@ _io_TextIOWrapper_readline(textio *self, PyObject *args)
PyObject *return_value = NULL;
Py_ssize_t size = -1;
- if (!PyArg_ParseTuple(args,
- "|n:readline",
+ if (!PyArg_ParseTuple(args, "|n:readline",
&size))
goto exit;
return_value = _io_TextIOWrapper_readline_impl(self, size);
@@ -289,8 +282,7 @@ _io_TextIOWrapper_seek(textio *self, PyObject *args)
PyObject *cookieObj;
int whence = 0;
- if (!PyArg_ParseTuple(args,
- "O|i:seek",
+ if (!PyArg_ParseTuple(args, "O|i:seek",
&cookieObj, &whence))
goto exit;
return_value = _io_TextIOWrapper_seek_impl(self, cookieObj, whence);
@@ -461,4 +453,4 @@ _io_TextIOWrapper_close(textio *self, PyObject *Py_UNUSED(ignored))
{
return _io_TextIOWrapper_close_impl(self);
}
-/*[clinic end generated code: output=a610bd3b694886c3 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=690608f85aab8ba5 input=a9049054013a1b77]*/
diff --git a/Modules/cjkcodecs/clinic/multibytecodec.c.h b/Modules/cjkcodecs/clinic/multibytecodec.c.h
index d2bad32..1985147 100644
--- a/Modules/cjkcodecs/clinic/multibytecodec.c.h
+++ b/Modules/cjkcodecs/clinic/multibytecodec.c.h
@@ -29,8 +29,7 @@ _multibytecodec_MultibyteCodec_encode(MultibyteCodecObject *self, PyObject *args
PyObject *input;
const char *errors = NULL;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "O|z:encode", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O|z:encode", _keywords,
&input, &errors))
goto exit;
return_value = _multibytecodec_MultibyteCodec_encode_impl(self, input, errors);
@@ -66,8 +65,7 @@ _multibytecodec_MultibyteCodec_decode(MultibyteCodecObject *self, PyObject *args
Py_buffer input = {NULL, NULL};
const char *errors = NULL;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "y*|z:decode", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "y*|z:decode", _keywords,
&input, &errors))
goto exit;
return_value = _multibytecodec_MultibyteCodec_decode_impl(self, &input, errors);
@@ -101,8 +99,7 @@ _multibytecodec_MultibyteIncrementalEncoder_encode(MultibyteIncrementalEncoderOb
PyObject *input;
int final = 0;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "O|i:encode", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O|i:encode", _keywords,
&input, &final))
goto exit;
return_value = _multibytecodec_MultibyteIncrementalEncoder_encode_impl(self, input, final);
@@ -149,8 +146,7 @@ _multibytecodec_MultibyteIncrementalDecoder_decode(MultibyteIncrementalDecoderOb
Py_buffer input = {NULL, NULL};
int final = 0;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "y*|i:decode", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "y*|i:decode", _keywords,
&input, &final))
goto exit;
return_value = _multibytecodec_MultibyteIncrementalDecoder_decode_impl(self, &input, final);
@@ -321,4 +317,4 @@ PyDoc_STRVAR(_multibytecodec___create_codec__doc__,
#define _MULTIBYTECODEC___CREATE_CODEC_METHODDEF \
{"__create_codec", (PyCFunction)_multibytecodec___create_codec, METH_O, _multibytecodec___create_codec__doc__},
-/*[clinic end generated code: output=0fe582cb941024c1 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=c104f5fd548c1ac5 input=a9049054013a1b77]*/
diff --git a/Modules/clinic/_bz2module.c.h b/Modules/clinic/_bz2module.c.h
index 7937fb6..3ed8303e 100644
--- a/Modules/clinic/_bz2module.c.h
+++ b/Modules/clinic/_bz2module.c.h
@@ -25,9 +25,7 @@ _bz2_BZ2Compressor_compress(BZ2Compressor *self, PyObject *arg)
PyObject *return_value = NULL;
Py_buffer data = {NULL, NULL};
- if (!PyArg_Parse(arg,
- "y*:compress",
- &data))
+ if (!PyArg_Parse(arg, "y*:compress", &data))
goto exit;
return_value = _bz2_BZ2Compressor_compress_impl(self, &data);
@@ -84,8 +82,7 @@ _bz2_BZ2Compressor___init__(PyObject *self, PyObject *args, PyObject *kwargs)
if ((Py_TYPE(self) == &BZ2Compressor_Type) &&
!_PyArg_NoKeywords("BZ2Compressor", kwargs))
goto exit;
- if (!PyArg_ParseTuple(args,
- "|i:BZ2Compressor",
+ if (!PyArg_ParseTuple(args, "|i:BZ2Compressor",
&compresslevel))
goto exit;
return_value = _bz2_BZ2Compressor___init___impl((BZ2Compressor *)self, compresslevel);
@@ -128,8 +125,7 @@ _bz2_BZ2Decompressor_decompress(BZ2Decompressor *self, PyObject *args, PyObject
Py_buffer data = {NULL, NULL};
Py_ssize_t max_length = -1;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "y*|n:decompress", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "y*|n:decompress", _keywords,
&data, &max_length))
goto exit;
return_value = _bz2_BZ2Decompressor_decompress_impl(self, &data, max_length);
@@ -169,4 +165,4 @@ _bz2_BZ2Decompressor___init__(PyObject *self, PyObject *args, PyObject *kwargs)
exit:
return return_value;
}
-/*[clinic end generated code: output=e8a48a949969c355 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=fef29b76b3314fc7 input=a9049054013a1b77]*/
diff --git a/Modules/clinic/_codecsmodule.c.h b/Modules/clinic/_codecsmodule.c.h
index 084648f..238bed4 100644
--- a/Modules/clinic/_codecsmodule.c.h
+++ b/Modules/clinic/_codecsmodule.c.h
@@ -20,13 +20,11 @@ _codecs__forget_codec(PyModuleDef *module, PyObject *arg)
PyObject *return_value = NULL;
const char *encoding;
- if (!PyArg_Parse(arg,
- "s:_forget_codec",
- &encoding))
+ if (!PyArg_Parse(arg, "s:_forget_codec", &encoding))
goto exit;
return_value = _codecs__forget_codec_impl(module, encoding);
exit:
return return_value;
}
-/*[clinic end generated code: output=fc5ce4d3166f7d96 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=52cc017e06c8ef9a input=a9049054013a1b77]*/
diff --git a/Modules/clinic/_cryptmodule.c.h b/Modules/clinic/_cryptmodule.c.h
index cd63bd1..b8ec31e 100644
--- a/Modules/clinic/_cryptmodule.c.h
+++ b/Modules/clinic/_cryptmodule.c.h
@@ -26,8 +26,7 @@ crypt_crypt(PyModuleDef *module, PyObject *args)
const char *word;
const char *salt;
- if (!PyArg_ParseTuple(args,
- "ss:crypt",
+ if (!PyArg_ParseTuple(args, "ss:crypt",
&word, &salt))
goto exit;
return_value = crypt_crypt_impl(module, word, salt);
@@ -35,4 +34,4 @@ crypt_crypt(PyModuleDef *module, PyObject *args)
exit:
return return_value;
}
-/*[clinic end generated code: output=b5b8d977189d19ea input=a9049054013a1b77]*/
+/*[clinic end generated code: output=22c295c9bce018c4 input=a9049054013a1b77]*/
diff --git a/Modules/clinic/_datetimemodule.c.h b/Modules/clinic/_datetimemodule.c.h
index 5bf3ebe..688c903 100644
--- a/Modules/clinic/_datetimemodule.c.h
+++ b/Modules/clinic/_datetimemodule.c.h
@@ -26,8 +26,7 @@ datetime_datetime_now(PyTypeObject *type, PyObject *args, PyObject *kwargs)
static char *_keywords[] = {"tz", NULL};
PyObject *tz = Py_None;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "|O:now", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|O:now", _keywords,
&tz))
goto exit;
return_value = datetime_datetime_now_impl(type, tz);
@@ -35,4 +34,4 @@ datetime_datetime_now(PyTypeObject *type, PyObject *args, PyObject *kwargs)
exit:
return return_value;
}
-/*[clinic end generated code: output=a5c51b96f10c462c input=a9049054013a1b77]*/
+/*[clinic end generated code: output=7f45c670d6e4953a input=a9049054013a1b77]*/
diff --git a/Modules/clinic/_dbmmodule.c.h b/Modules/clinic/_dbmmodule.c.h
index 4d88373..8474e02 100644
--- a/Modules/clinic/_dbmmodule.c.h
+++ b/Modules/clinic/_dbmmodule.c.h
@@ -59,8 +59,7 @@ _dbm_dbm_get(dbmobject *self, PyObject *args)
Py_ssize_clean_t key_length;
PyObject *default_value = NULL;
- if (!PyArg_ParseTuple(args,
- "s#|O:get",
+ if (!PyArg_ParseTuple(args, "s#|O:get",
&key, &key_length, &default_value))
goto exit;
return_value = _dbm_dbm_get_impl(self, key, key_length, default_value);
@@ -93,8 +92,7 @@ _dbm_dbm_setdefault(dbmobject *self, PyObject *args)
Py_ssize_clean_t key_length;
PyObject *default_value = NULL;
- if (!PyArg_ParseTuple(args,
- "s#|O:setdefault",
+ if (!PyArg_ParseTuple(args, "s#|O:setdefault",
&key, &key_length, &default_value))
goto exit;
return_value = _dbm_dbm_setdefault_impl(self, key, key_length, default_value);
@@ -132,8 +130,7 @@ dbmopen(PyModuleDef *module, PyObject *args)
const char *flags = "r";
int mode = 438;
- if (!PyArg_ParseTuple(args,
- "s|si:open",
+ if (!PyArg_ParseTuple(args, "s|si:open",
&filename, &flags, &mode))
goto exit;
return_value = dbmopen_impl(module, filename, flags, mode);
@@ -141,4 +138,4 @@ dbmopen(PyModuleDef *module, PyObject *args)
exit:
return return_value;
}
-/*[clinic end generated code: output=951fcfdb6d667a61 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=1d92e81b28c558d0 input=a9049054013a1b77]*/
diff --git a/Modules/clinic/_gdbmmodule.c.h b/Modules/clinic/_gdbmmodule.c.h
index d9e9acf..110ad9a 100644
--- a/Modules/clinic/_gdbmmodule.c.h
+++ b/Modules/clinic/_gdbmmodule.c.h
@@ -147,9 +147,7 @@ _gdbm_gdbm_nextkey(dbmobject *self, PyObject *arg)
const char *key;
Py_ssize_clean_t key_length;
- if (!PyArg_Parse(arg,
- "s#:nextkey",
- &key, &key_length))
+ if (!PyArg_Parse(arg, "s#:nextkey", &key, &key_length))
goto exit;
return_value = _gdbm_gdbm_nextkey_impl(self, key, key_length);
@@ -244,8 +242,7 @@ dbmopen(PyModuleDef *module, PyObject *args)
const char *flags = "r";
int mode = 438;
- if (!PyArg_ParseTuple(args,
- "s|si:open",
+ if (!PyArg_ParseTuple(args, "s|si:open",
&name, &flags, &mode))
goto exit;
return_value = dbmopen_impl(module, name, flags, mode);
@@ -253,4 +250,4 @@ dbmopen(PyModuleDef *module, PyObject *args)
exit:
return return_value;
}
-/*[clinic end generated code: output=b41c68a5f30699cb input=a9049054013a1b77]*/
+/*[clinic end generated code: output=d3d8d871bcccb68a input=a9049054013a1b77]*/
diff --git a/Modules/clinic/_lzmamodule.c.h b/Modules/clinic/_lzmamodule.c.h
index 815dc90..59d9d51 100644
--- a/Modules/clinic/_lzmamodule.c.h
+++ b/Modules/clinic/_lzmamodule.c.h
@@ -25,9 +25,7 @@ _lzma_LZMACompressor_compress(Compressor *self, PyObject *arg)
PyObject *return_value = NULL;
Py_buffer data = {NULL, NULL};
- if (!PyArg_Parse(arg,
- "y*:compress",
- &data))
+ if (!PyArg_Parse(arg, "y*:compress", &data))
goto exit;
return_value = _lzma_LZMACompressor_compress_impl(self, &data);
@@ -95,8 +93,7 @@ _lzma_LZMADecompressor_decompress(Decompressor *self, PyObject *args, PyObject *
Py_buffer data = {NULL, NULL};
Py_ssize_t max_length = -1;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "y*|n:decompress", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "y*|n:decompress", _keywords,
&data, &max_length))
goto exit;
return_value = _lzma_LZMADecompressor_decompress_impl(self, &data, max_length);
@@ -145,8 +142,7 @@ _lzma_LZMADecompressor___init__(PyObject *self, PyObject *args, PyObject *kwargs
PyObject *memlimit = Py_None;
PyObject *filters = Py_None;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "|iOO:LZMADecompressor", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|iOO:LZMADecompressor", _keywords,
&format, &memlimit, &filters))
goto exit;
return_value = _lzma_LZMADecompressor___init___impl((Decompressor *)self, format, memlimit, filters);
@@ -175,9 +171,7 @@ _lzma_is_check_supported(PyModuleDef *module, PyObject *arg)
PyObject *return_value = NULL;
int check_id;
- if (!PyArg_Parse(arg,
- "i:is_check_supported",
- &check_id))
+ if (!PyArg_Parse(arg, "i:is_check_supported", &check_id))
goto exit;
return_value = _lzma_is_check_supported_impl(module, check_id);
@@ -205,9 +199,7 @@ _lzma__encode_filter_properties(PyModuleDef *module, PyObject *arg)
PyObject *return_value = NULL;
lzma_filter filter = {LZMA_VLI_UNKNOWN, NULL};
- if (!PyArg_Parse(arg,
- "O&:_encode_filter_properties",
- lzma_filter_converter, &filter))
+ if (!PyArg_Parse(arg, "O&:_encode_filter_properties", lzma_filter_converter, &filter))
goto exit;
return_value = _lzma__encode_filter_properties_impl(module, filter);
@@ -241,8 +233,7 @@ _lzma__decode_filter_properties(PyModuleDef *module, PyObject *args)
lzma_vli filter_id;
Py_buffer encoded_props = {NULL, NULL};
- if (!PyArg_ParseTuple(args,
- "O&y*:_decode_filter_properties",
+ if (!PyArg_ParseTuple(args, "O&y*:_decode_filter_properties",
lzma_vli_converter, &filter_id, &encoded_props))
goto exit;
return_value = _lzma__decode_filter_properties_impl(module, filter_id, &encoded_props);
@@ -254,4 +245,4 @@ exit:
return return_value;
}
-/*[clinic end generated code: output=8981089cde080b54 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=2d3e0842be3d3fe1 input=a9049054013a1b77]*/
diff --git a/Modules/clinic/_opcode.c.h b/Modules/clinic/_opcode.c.h
index 945c904..196a2ee 100644
--- a/Modules/clinic/_opcode.c.h
+++ b/Modules/clinic/_opcode.c.h
@@ -22,8 +22,7 @@ _opcode_stack_effect(PyModuleDef *module, PyObject *args)
PyObject *oparg = Py_None;
int _return_value;
- if (!PyArg_ParseTuple(args,
- "i|O:stack_effect",
+ if (!PyArg_ParseTuple(args, "i|O:stack_effect",
&opcode, &oparg))
goto exit;
_return_value = _opcode_stack_effect_impl(module, opcode, oparg);
@@ -34,4 +33,4 @@ _opcode_stack_effect(PyModuleDef *module, PyObject *args)
exit:
return return_value;
}
-/*[clinic end generated code: output=dbe45148bc21ecdf input=a9049054013a1b77]*/
+/*[clinic end generated code: output=8ee7cb735705e8b3 input=a9049054013a1b77]*/
diff --git a/Modules/clinic/_pickle.c.h b/Modules/clinic/_pickle.c.h
index c7fa5bf..b698ce8 100644
--- a/Modules/clinic/_pickle.c.h
+++ b/Modules/clinic/_pickle.c.h
@@ -97,8 +97,7 @@ _pickle_Pickler___init__(PyObject *self, PyObject *args, PyObject *kwargs)
PyObject *protocol = NULL;
int fix_imports = 1;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "O|Op:Pickler", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O|Op:Pickler", _keywords,
&file, &protocol, &fix_imports))
goto exit;
return_value = _pickle_Pickler___init___impl((PicklerObject *)self, file, protocol, fix_imports);
@@ -288,8 +287,7 @@ _pickle_Unpickler___init__(PyObject *self, PyObject *args, PyObject *kwargs)
const char *encoding = "ASCII";
const char *errors = "strict";
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "O|$pss:Unpickler", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O|$pss:Unpickler", _keywords,
&file, &fix_imports, &encoding, &errors))
goto exit;
return_value = _pickle_Unpickler___init___impl((UnpicklerObject *)self, file, fix_imports, encoding, errors);
@@ -395,8 +393,7 @@ _pickle_dump(PyModuleDef *module, PyObject *args, PyObject *kwargs)
PyObject *protocol = NULL;
int fix_imports = 1;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "OO|O$p:dump", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO|O$p:dump", _keywords,
&obj, &file, &protocol, &fix_imports))
goto exit;
return_value = _pickle_dump_impl(module, obj, file, protocol, fix_imports);
@@ -439,8 +436,7 @@ _pickle_dumps(PyModuleDef *module, PyObject *args, PyObject *kwargs)
PyObject *protocol = NULL;
int fix_imports = 1;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "O|O$p:dumps", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O|O$p:dumps", _keywords,
&obj, &protocol, &fix_imports))
goto exit;
return_value = _pickle_dumps_impl(module, obj, protocol, fix_imports);
@@ -495,8 +491,7 @@ _pickle_load(PyModuleDef *module, PyObject *args, PyObject *kwargs)
const char *encoding = "ASCII";
const char *errors = "strict";
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "O|$pss:load", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O|$pss:load", _keywords,
&file, &fix_imports, &encoding, &errors))
goto exit;
return_value = _pickle_load_impl(module, file, fix_imports, encoding, errors);
@@ -542,8 +537,7 @@ _pickle_loads(PyModuleDef *module, PyObject *args, PyObject *kwargs)
const char *encoding = "ASCII";
const char *errors = "strict";
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "O|$pss:loads", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O|$pss:loads", _keywords,
&data, &fix_imports, &encoding, &errors))
goto exit;
return_value = _pickle_loads_impl(module, data, fix_imports, encoding, errors);
@@ -551,4 +545,4 @@ _pickle_loads(PyModuleDef *module, PyObject *args, PyObject *kwargs)
exit:
return return_value;
}
-/*[clinic end generated code: output=2c413ecc2ec74f7c input=a9049054013a1b77]*/
+/*[clinic end generated code: output=06f3a5233298448e input=a9049054013a1b77]*/
diff --git a/Modules/clinic/arraymodule.c.h b/Modules/clinic/arraymodule.c.h
index 2e64aad..fdf247e 100644
--- a/Modules/clinic/arraymodule.c.h
+++ b/Modules/clinic/arraymodule.c.h
@@ -76,8 +76,7 @@ array_array_pop(arrayobject *self, PyObject *args)
PyObject *return_value = NULL;
Py_ssize_t i = -1;
- if (!PyArg_ParseTuple(args,
- "|n:pop",
+ if (!PyArg_ParseTuple(args, "|n:pop",
&i))
goto exit;
return_value = array_array_pop_impl(self, i);
@@ -114,8 +113,7 @@ array_array_insert(arrayobject *self, PyObject *args)
Py_ssize_t i;
PyObject *v;
- if (!PyArg_ParseTuple(args,
- "nO:insert",
+ if (!PyArg_ParseTuple(args, "nO:insert",
&i, &v))
goto exit;
return_value = array_array_insert_impl(self, i, v);
@@ -212,8 +210,7 @@ array_array_fromfile(arrayobject *self, PyObject *args)
PyObject *f;
Py_ssize_t n;
- if (!PyArg_ParseTuple(args,
- "On:fromfile",
+ if (!PyArg_ParseTuple(args, "On:fromfile",
&f, &n))
goto exit;
return_value = array_array_fromfile_impl(self, f, n);
@@ -278,9 +275,7 @@ array_array_fromstring(arrayobject *self, PyObject *arg)
PyObject *return_value = NULL;
Py_buffer buffer = {NULL, NULL};
- if (!PyArg_Parse(arg,
- "s*:fromstring",
- &buffer))
+ if (!PyArg_Parse(arg, "s*:fromstring", &buffer))
goto exit;
return_value = array_array_fromstring_impl(self, &buffer);
@@ -310,9 +305,7 @@ array_array_frombytes(arrayobject *self, PyObject *arg)
PyObject *return_value = NULL;
Py_buffer buffer = {NULL, NULL};
- if (!PyArg_Parse(arg,
- "y*:frombytes",
- &buffer))
+ if (!PyArg_Parse(arg, "y*:frombytes", &buffer))
goto exit;
return_value = array_array_frombytes_impl(self, &buffer);
@@ -386,9 +379,7 @@ array_array_fromunicode(arrayobject *self, PyObject *arg)
Py_UNICODE *ustr;
Py_ssize_clean_t ustr_length;
- if (!PyArg_Parse(arg,
- "u#:fromunicode",
- &ustr, &ustr_length))
+ if (!PyArg_Parse(arg, "u#:fromunicode", &ustr, &ustr_length))
goto exit;
return_value = array_array_fromunicode_impl(self, ustr, ustr_length);
@@ -461,8 +452,7 @@ array__array_reconstructor(PyModuleDef *module, PyObject *args)
enum machine_format_code mformat_code;
PyObject *items;
- if (!PyArg_ParseTuple(args,
- "OCiO:_array_reconstructor",
+ if (!PyArg_ParseTuple(args, "OCiO:_array_reconstructor",
&arraytype, &typecode, &mformat_code, &items))
goto exit;
return_value = array__array_reconstructor_impl(module, arraytype, typecode, mformat_code, items);
@@ -506,4 +496,4 @@ PyDoc_STRVAR(array_arrayiterator___setstate____doc__,
#define ARRAY_ARRAYITERATOR___SETSTATE___METHODDEF \
{"__setstate__", (PyCFunction)array_arrayiterator___setstate__, METH_O, array_arrayiterator___setstate____doc__},
-/*[clinic end generated code: output=48e8198c8087cd00 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=d2e82c65ea841cfc input=a9049054013a1b77]*/
diff --git a/Modules/clinic/audioop.c.h b/Modules/clinic/audioop.c.h
index a58afda..3ee2966 100644
--- a/Modules/clinic/audioop.c.h
+++ b/Modules/clinic/audioop.c.h
@@ -23,8 +23,7 @@ audioop_getsample(PyModuleDef *module, PyObject *args)
int width;
Py_ssize_t index;
- if (!PyArg_ParseTuple(args,
- "y*in:getsample",
+ if (!PyArg_ParseTuple(args, "y*in:getsample",
&fragment, &width, &index))
goto exit;
return_value = audioop_getsample_impl(module, &fragment, width, index);
@@ -56,8 +55,7 @@ audioop_max(PyModuleDef *module, PyObject *args)
Py_buffer fragment = {NULL, NULL};
int width;
- if (!PyArg_ParseTuple(args,
- "y*i:max",
+ if (!PyArg_ParseTuple(args, "y*i:max",
&fragment, &width))
goto exit;
return_value = audioop_max_impl(module, &fragment, width);
@@ -89,8 +87,7 @@ audioop_minmax(PyModuleDef *module, PyObject *args)
Py_buffer fragment = {NULL, NULL};
int width;
- if (!PyArg_ParseTuple(args,
- "y*i:minmax",
+ if (!PyArg_ParseTuple(args, "y*i:minmax",
&fragment, &width))
goto exit;
return_value = audioop_minmax_impl(module, &fragment, width);
@@ -122,8 +119,7 @@ audioop_avg(PyModuleDef *module, PyObject *args)
Py_buffer fragment = {NULL, NULL};
int width;
- if (!PyArg_ParseTuple(args,
- "y*i:avg",
+ if (!PyArg_ParseTuple(args, "y*i:avg",
&fragment, &width))
goto exit;
return_value = audioop_avg_impl(module, &fragment, width);
@@ -155,8 +151,7 @@ audioop_rms(PyModuleDef *module, PyObject *args)
Py_buffer fragment = {NULL, NULL};
int width;
- if (!PyArg_ParseTuple(args,
- "y*i:rms",
+ if (!PyArg_ParseTuple(args, "y*i:rms",
&fragment, &width))
goto exit;
return_value = audioop_rms_impl(module, &fragment, width);
@@ -189,8 +184,7 @@ audioop_findfit(PyModuleDef *module, PyObject *args)
Py_buffer fragment = {NULL, NULL};
Py_buffer reference = {NULL, NULL};
- if (!PyArg_ParseTuple(args,
- "y*y*:findfit",
+ if (!PyArg_ParseTuple(args, "y*y*:findfit",
&fragment, &reference))
goto exit;
return_value = audioop_findfit_impl(module, &fragment, &reference);
@@ -226,8 +220,7 @@ audioop_findfactor(PyModuleDef *module, PyObject *args)
Py_buffer fragment = {NULL, NULL};
Py_buffer reference = {NULL, NULL};
- if (!PyArg_ParseTuple(args,
- "y*y*:findfactor",
+ if (!PyArg_ParseTuple(args, "y*y*:findfactor",
&fragment, &reference))
goto exit;
return_value = audioop_findfactor_impl(module, &fragment, &reference);
@@ -263,8 +256,7 @@ audioop_findmax(PyModuleDef *module, PyObject *args)
Py_buffer fragment = {NULL, NULL};
Py_ssize_t length;
- if (!PyArg_ParseTuple(args,
- "y*n:findmax",
+ if (!PyArg_ParseTuple(args, "y*n:findmax",
&fragment, &length))
goto exit;
return_value = audioop_findmax_impl(module, &fragment, length);
@@ -296,8 +288,7 @@ audioop_avgpp(PyModuleDef *module, PyObject *args)
Py_buffer fragment = {NULL, NULL};
int width;
- if (!PyArg_ParseTuple(args,
- "y*i:avgpp",
+ if (!PyArg_ParseTuple(args, "y*i:avgpp",
&fragment, &width))
goto exit;
return_value = audioop_avgpp_impl(module, &fragment, width);
@@ -329,8 +320,7 @@ audioop_maxpp(PyModuleDef *module, PyObject *args)
Py_buffer fragment = {NULL, NULL};
int width;
- if (!PyArg_ParseTuple(args,
- "y*i:maxpp",
+ if (!PyArg_ParseTuple(args, "y*i:maxpp",
&fragment, &width))
goto exit;
return_value = audioop_maxpp_impl(module, &fragment, width);
@@ -362,8 +352,7 @@ audioop_cross(PyModuleDef *module, PyObject *args)
Py_buffer fragment = {NULL, NULL};
int width;
- if (!PyArg_ParseTuple(args,
- "y*i:cross",
+ if (!PyArg_ParseTuple(args, "y*i:cross",
&fragment, &width))
goto exit;
return_value = audioop_cross_impl(module, &fragment, width);
@@ -397,8 +386,7 @@ audioop_mul(PyModuleDef *module, PyObject *args)
int width;
double factor;
- if (!PyArg_ParseTuple(args,
- "y*id:mul",
+ if (!PyArg_ParseTuple(args, "y*id:mul",
&fragment, &width, &factor))
goto exit;
return_value = audioop_mul_impl(module, &fragment, width, factor);
@@ -433,8 +421,7 @@ audioop_tomono(PyModuleDef *module, PyObject *args)
double lfactor;
double rfactor;
- if (!PyArg_ParseTuple(args,
- "y*idd:tomono",
+ if (!PyArg_ParseTuple(args, "y*idd:tomono",
&fragment, &width, &lfactor, &rfactor))
goto exit;
return_value = audioop_tomono_impl(module, &fragment, width, lfactor, rfactor);
@@ -469,8 +456,7 @@ audioop_tostereo(PyModuleDef *module, PyObject *args)
double lfactor;
double rfactor;
- if (!PyArg_ParseTuple(args,
- "y*idd:tostereo",
+ if (!PyArg_ParseTuple(args, "y*idd:tostereo",
&fragment, &width, &lfactor, &rfactor))
goto exit;
return_value = audioop_tostereo_impl(module, &fragment, width, lfactor, rfactor);
@@ -504,8 +490,7 @@ audioop_add(PyModuleDef *module, PyObject *args)
Py_buffer fragment2 = {NULL, NULL};
int width;
- if (!PyArg_ParseTuple(args,
- "y*y*i:add",
+ if (!PyArg_ParseTuple(args, "y*y*i:add",
&fragment1, &fragment2, &width))
goto exit;
return_value = audioop_add_impl(module, &fragment1, &fragment2, width);
@@ -542,8 +527,7 @@ audioop_bias(PyModuleDef *module, PyObject *args)
int width;
int bias;
- if (!PyArg_ParseTuple(args,
- "y*ii:bias",
+ if (!PyArg_ParseTuple(args, "y*ii:bias",
&fragment, &width, &bias))
goto exit;
return_value = audioop_bias_impl(module, &fragment, width, bias);
@@ -575,8 +559,7 @@ audioop_reverse(PyModuleDef *module, PyObject *args)
Py_buffer fragment = {NULL, NULL};
int width;
- if (!PyArg_ParseTuple(args,
- "y*i:reverse",
+ if (!PyArg_ParseTuple(args, "y*i:reverse",
&fragment, &width))
goto exit;
return_value = audioop_reverse_impl(module, &fragment, width);
@@ -608,8 +591,7 @@ audioop_byteswap(PyModuleDef *module, PyObject *args)
Py_buffer fragment = {NULL, NULL};
int width;
- if (!PyArg_ParseTuple(args,
- "y*i:byteswap",
+ if (!PyArg_ParseTuple(args, "y*i:byteswap",
&fragment, &width))
goto exit;
return_value = audioop_byteswap_impl(module, &fragment, width);
@@ -643,8 +625,7 @@ audioop_lin2lin(PyModuleDef *module, PyObject *args)
int width;
int newwidth;
- if (!PyArg_ParseTuple(args,
- "y*ii:lin2lin",
+ if (!PyArg_ParseTuple(args, "y*ii:lin2lin",
&fragment, &width, &newwidth))
goto exit;
return_value = audioop_lin2lin_impl(module, &fragment, width, newwidth);
@@ -685,8 +666,7 @@ audioop_ratecv(PyModuleDef *module, PyObject *args)
int weightA = 1;
int weightB = 0;
- if (!PyArg_ParseTuple(args,
- "y*iiiiO|ii:ratecv",
+ if (!PyArg_ParseTuple(args, "y*iiiiO|ii:ratecv",
&fragment, &width, &nchannels, &inrate, &outrate, &state, &weightA, &weightB))
goto exit;
return_value = audioop_ratecv_impl(module, &fragment, width, nchannels, inrate, outrate, state, weightA, weightB);
@@ -718,8 +698,7 @@ audioop_lin2ulaw(PyModuleDef *module, PyObject *args)
Py_buffer fragment = {NULL, NULL};
int width;
- if (!PyArg_ParseTuple(args,
- "y*i:lin2ulaw",
+ if (!PyArg_ParseTuple(args, "y*i:lin2ulaw",
&fragment, &width))
goto exit;
return_value = audioop_lin2ulaw_impl(module, &fragment, width);
@@ -751,8 +730,7 @@ audioop_ulaw2lin(PyModuleDef *module, PyObject *args)
Py_buffer fragment = {NULL, NULL};
int width;
- if (!PyArg_ParseTuple(args,
- "y*i:ulaw2lin",
+ if (!PyArg_ParseTuple(args, "y*i:ulaw2lin",
&fragment, &width))
goto exit;
return_value = audioop_ulaw2lin_impl(module, &fragment, width);
@@ -784,8 +762,7 @@ audioop_lin2alaw(PyModuleDef *module, PyObject *args)
Py_buffer fragment = {NULL, NULL};
int width;
- if (!PyArg_ParseTuple(args,
- "y*i:lin2alaw",
+ if (!PyArg_ParseTuple(args, "y*i:lin2alaw",
&fragment, &width))
goto exit;
return_value = audioop_lin2alaw_impl(module, &fragment, width);
@@ -817,8 +794,7 @@ audioop_alaw2lin(PyModuleDef *module, PyObject *args)
Py_buffer fragment = {NULL, NULL};
int width;
- if (!PyArg_ParseTuple(args,
- "y*i:alaw2lin",
+ if (!PyArg_ParseTuple(args, "y*i:alaw2lin",
&fragment, &width))
goto exit;
return_value = audioop_alaw2lin_impl(module, &fragment, width);
@@ -852,8 +828,7 @@ audioop_lin2adpcm(PyModuleDef *module, PyObject *args)
int width;
PyObject *state;
- if (!PyArg_ParseTuple(args,
- "y*iO:lin2adpcm",
+ if (!PyArg_ParseTuple(args, "y*iO:lin2adpcm",
&fragment, &width, &state))
goto exit;
return_value = audioop_lin2adpcm_impl(module, &fragment, width, state);
@@ -887,8 +862,7 @@ audioop_adpcm2lin(PyModuleDef *module, PyObject *args)
int width;
PyObject *state;
- if (!PyArg_ParseTuple(args,
- "y*iO:adpcm2lin",
+ if (!PyArg_ParseTuple(args, "y*iO:adpcm2lin",
&fragment, &width, &state))
goto exit;
return_value = audioop_adpcm2lin_impl(module, &fragment, width, state);
@@ -900,4 +874,4 @@ exit:
return return_value;
}
-/*[clinic end generated code: output=9b01aafef50425ae input=a9049054013a1b77]*/
+/*[clinic end generated code: output=a076e1b213a8727b input=a9049054013a1b77]*/
diff --git a/Modules/clinic/binascii.c.h b/Modules/clinic/binascii.c.h
index 25d39d2..e348bee 100644
--- a/Modules/clinic/binascii.c.h
+++ b/Modules/clinic/binascii.c.h
@@ -20,9 +20,7 @@ binascii_a2b_uu(PyModuleDef *module, PyObject *arg)
PyObject *return_value = NULL;
Py_buffer data = {NULL, NULL};
- if (!PyArg_Parse(arg,
- "O&:a2b_uu",
- ascii_buffer_converter, &data))
+ if (!PyArg_Parse(arg, "O&:a2b_uu", ascii_buffer_converter, &data))
goto exit;
return_value = binascii_a2b_uu_impl(module, &data);
@@ -52,9 +50,7 @@ binascii_b2a_uu(PyModuleDef *module, PyObject *arg)
PyObject *return_value = NULL;
Py_buffer data = {NULL, NULL};
- if (!PyArg_Parse(arg,
- "y*:b2a_uu",
- &data))
+ if (!PyArg_Parse(arg, "y*:b2a_uu", &data))
goto exit;
return_value = binascii_b2a_uu_impl(module, &data);
@@ -84,9 +80,7 @@ binascii_a2b_base64(PyModuleDef *module, PyObject *arg)
PyObject *return_value = NULL;
Py_buffer data = {NULL, NULL};
- if (!PyArg_Parse(arg,
- "O&:a2b_base64",
- ascii_buffer_converter, &data))
+ if (!PyArg_Parse(arg, "O&:a2b_base64", ascii_buffer_converter, &data))
goto exit;
return_value = binascii_a2b_base64_impl(module, &data);
@@ -116,9 +110,7 @@ binascii_b2a_base64(PyModuleDef *module, PyObject *arg)
PyObject *return_value = NULL;
Py_buffer data = {NULL, NULL};
- if (!PyArg_Parse(arg,
- "y*:b2a_base64",
- &data))
+ if (!PyArg_Parse(arg, "y*:b2a_base64", &data))
goto exit;
return_value = binascii_b2a_base64_impl(module, &data);
@@ -148,9 +140,7 @@ binascii_a2b_hqx(PyModuleDef *module, PyObject *arg)
PyObject *return_value = NULL;
Py_buffer data = {NULL, NULL};
- if (!PyArg_Parse(arg,
- "O&:a2b_hqx",
- ascii_buffer_converter, &data))
+ if (!PyArg_Parse(arg, "O&:a2b_hqx", ascii_buffer_converter, &data))
goto exit;
return_value = binascii_a2b_hqx_impl(module, &data);
@@ -180,9 +170,7 @@ binascii_rlecode_hqx(PyModuleDef *module, PyObject *arg)
PyObject *return_value = NULL;
Py_buffer data = {NULL, NULL};
- if (!PyArg_Parse(arg,
- "y*:rlecode_hqx",
- &data))
+ if (!PyArg_Parse(arg, "y*:rlecode_hqx", &data))
goto exit;
return_value = binascii_rlecode_hqx_impl(module, &data);
@@ -212,9 +200,7 @@ binascii_b2a_hqx(PyModuleDef *module, PyObject *arg)
PyObject *return_value = NULL;
Py_buffer data = {NULL, NULL};
- if (!PyArg_Parse(arg,
- "y*:b2a_hqx",
- &data))
+ if (!PyArg_Parse(arg, "y*:b2a_hqx", &data))
goto exit;
return_value = binascii_b2a_hqx_impl(module, &data);
@@ -244,9 +230,7 @@ binascii_rledecode_hqx(PyModuleDef *module, PyObject *arg)
PyObject *return_value = NULL;
Py_buffer data = {NULL, NULL};
- if (!PyArg_Parse(arg,
- "y*:rledecode_hqx",
- &data))
+ if (!PyArg_Parse(arg, "y*:rledecode_hqx", &data))
goto exit;
return_value = binascii_rledecode_hqx_impl(module, &data);
@@ -278,8 +262,7 @@ binascii_crc_hqx(PyModuleDef *module, PyObject *args)
unsigned int crc;
unsigned int _return_value;
- if (!PyArg_ParseTuple(args,
- "y*I:crc_hqx",
+ if (!PyArg_ParseTuple(args, "y*I:crc_hqx",
&data, &crc))
goto exit;
_return_value = binascii_crc_hqx_impl(module, &data, crc);
@@ -315,8 +298,7 @@ binascii_crc32(PyModuleDef *module, PyObject *args)
unsigned int crc = 0;
unsigned int _return_value;
- if (!PyArg_ParseTuple(args,
- "y*|I:crc32",
+ if (!PyArg_ParseTuple(args, "y*|I:crc32",
&data, &crc))
goto exit;
_return_value = binascii_crc32_impl(module, &data, crc);
@@ -353,9 +335,7 @@ binascii_b2a_hex(PyModuleDef *module, PyObject *arg)
PyObject *return_value = NULL;
Py_buffer data = {NULL, NULL};
- if (!PyArg_Parse(arg,
- "y*:b2a_hex",
- &data))
+ if (!PyArg_Parse(arg, "y*:b2a_hex", &data))
goto exit;
return_value = binascii_b2a_hex_impl(module, &data);
@@ -387,9 +367,7 @@ binascii_hexlify(PyModuleDef *module, PyObject *arg)
PyObject *return_value = NULL;
Py_buffer data = {NULL, NULL};
- if (!PyArg_Parse(arg,
- "y*:hexlify",
- &data))
+ if (!PyArg_Parse(arg, "y*:hexlify", &data))
goto exit;
return_value = binascii_hexlify_impl(module, &data);
@@ -422,9 +400,7 @@ binascii_a2b_hex(PyModuleDef *module, PyObject *arg)
PyObject *return_value = NULL;
Py_buffer hexstr = {NULL, NULL};
- if (!PyArg_Parse(arg,
- "O&:a2b_hex",
- ascii_buffer_converter, &hexstr))
+ if (!PyArg_Parse(arg, "O&:a2b_hex", ascii_buffer_converter, &hexstr))
goto exit;
return_value = binascii_a2b_hex_impl(module, &hexstr);
@@ -456,9 +432,7 @@ binascii_unhexlify(PyModuleDef *module, PyObject *arg)
PyObject *return_value = NULL;
Py_buffer hexstr = {NULL, NULL};
- if (!PyArg_Parse(arg,
- "O&:unhexlify",
- ascii_buffer_converter, &hexstr))
+ if (!PyArg_Parse(arg, "O&:unhexlify", ascii_buffer_converter, &hexstr))
goto exit;
return_value = binascii_unhexlify_impl(module, &hexstr);
@@ -490,8 +464,7 @@ binascii_a2b_qp(PyModuleDef *module, PyObject *args, PyObject *kwargs)
Py_buffer data = {NULL, NULL};
int header = 0;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "O&|i:a2b_qp", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O&|i:a2b_qp", _keywords,
ascii_buffer_converter, &data, &header))
goto exit;
return_value = binascii_a2b_qp_impl(module, &data, header);
@@ -531,8 +504,7 @@ binascii_b2a_qp(PyModuleDef *module, PyObject *args, PyObject *kwargs)
int istext = 1;
int header = 0;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "y*|iii:b2a_qp", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "y*|iii:b2a_qp", _keywords,
&data, &quotetabs, &istext, &header))
goto exit;
return_value = binascii_b2a_qp_impl(module, &data, quotetabs, istext, header);
@@ -544,4 +516,4 @@ exit:
return return_value;
}
-/*[clinic end generated code: output=5f8d3578618b3432 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=b1a3cbf7660ebaa5 input=a9049054013a1b77]*/
diff --git a/Modules/clinic/cmathmodule.c.h b/Modules/clinic/cmathmodule.c.h
index 4655dbf..e8fa6cb 100644
--- a/Modules/clinic/cmathmodule.c.h
+++ b/Modules/clinic/cmathmodule.c.h
@@ -21,9 +21,7 @@ cmath_acos(PyModuleDef *module, PyObject *arg)
Py_complex z;
Py_complex _return_value;
- if (!PyArg_Parse(arg,
- "D:acos",
- &z))
+ if (!PyArg_Parse(arg, "D:acos", &z))
goto exit;
/* modifications for z */
errno = 0; PyFPE_START_PROTECT("complex function", goto exit);
@@ -64,9 +62,7 @@ cmath_acosh(PyModuleDef *module, PyObject *arg)
Py_complex z;
Py_complex _return_value;
- if (!PyArg_Parse(arg,
- "D:acosh",
- &z))
+ if (!PyArg_Parse(arg, "D:acosh", &z))
goto exit;
/* modifications for z */
errno = 0; PyFPE_START_PROTECT("complex function", goto exit);
@@ -107,9 +103,7 @@ cmath_asin(PyModuleDef *module, PyObject *arg)
Py_complex z;
Py_complex _return_value;
- if (!PyArg_Parse(arg,
- "D:asin",
- &z))
+ if (!PyArg_Parse(arg, "D:asin", &z))
goto exit;
/* modifications for z */
errno = 0; PyFPE_START_PROTECT("complex function", goto exit);
@@ -150,9 +144,7 @@ cmath_asinh(PyModuleDef *module, PyObject *arg)
Py_complex z;
Py_complex _return_value;
- if (!PyArg_Parse(arg,
- "D:asinh",
- &z))
+ if (!PyArg_Parse(arg, "D:asinh", &z))
goto exit;
/* modifications for z */
errno = 0; PyFPE_START_PROTECT("complex function", goto exit);
@@ -193,9 +185,7 @@ cmath_atan(PyModuleDef *module, PyObject *arg)
Py_complex z;
Py_complex _return_value;
- if (!PyArg_Parse(arg,
- "D:atan",
- &z))
+ if (!PyArg_Parse(arg, "D:atan", &z))
goto exit;
/* modifications for z */
errno = 0; PyFPE_START_PROTECT("complex function", goto exit);
@@ -236,9 +226,7 @@ cmath_atanh(PyModuleDef *module, PyObject *arg)
Py_complex z;
Py_complex _return_value;
- if (!PyArg_Parse(arg,
- "D:atanh",
- &z))
+ if (!PyArg_Parse(arg, "D:atanh", &z))
goto exit;
/* modifications for z */
errno = 0; PyFPE_START_PROTECT("complex function", goto exit);
@@ -279,9 +267,7 @@ cmath_cos(PyModuleDef *module, PyObject *arg)
Py_complex z;
Py_complex _return_value;
- if (!PyArg_Parse(arg,
- "D:cos",
- &z))
+ if (!PyArg_Parse(arg, "D:cos", &z))
goto exit;
/* modifications for z */
errno = 0; PyFPE_START_PROTECT("complex function", goto exit);
@@ -322,9 +308,7 @@ cmath_cosh(PyModuleDef *module, PyObject *arg)
Py_complex z;
Py_complex _return_value;
- if (!PyArg_Parse(arg,
- "D:cosh",
- &z))
+ if (!PyArg_Parse(arg, "D:cosh", &z))
goto exit;
/* modifications for z */
errno = 0; PyFPE_START_PROTECT("complex function", goto exit);
@@ -365,9 +349,7 @@ cmath_exp(PyModuleDef *module, PyObject *arg)
Py_complex z;
Py_complex _return_value;
- if (!PyArg_Parse(arg,
- "D:exp",
- &z))
+ if (!PyArg_Parse(arg, "D:exp", &z))
goto exit;
/* modifications for z */
errno = 0; PyFPE_START_PROTECT("complex function", goto exit);
@@ -408,9 +390,7 @@ cmath_log10(PyModuleDef *module, PyObject *arg)
Py_complex z;
Py_complex _return_value;
- if (!PyArg_Parse(arg,
- "D:log10",
- &z))
+ if (!PyArg_Parse(arg, "D:log10", &z))
goto exit;
/* modifications for z */
errno = 0; PyFPE_START_PROTECT("complex function", goto exit);
@@ -451,9 +431,7 @@ cmath_sin(PyModuleDef *module, PyObject *arg)
Py_complex z;
Py_complex _return_value;
- if (!PyArg_Parse(arg,
- "D:sin",
- &z))
+ if (!PyArg_Parse(arg, "D:sin", &z))
goto exit;
/* modifications for z */
errno = 0; PyFPE_START_PROTECT("complex function", goto exit);
@@ -494,9 +472,7 @@ cmath_sinh(PyModuleDef *module, PyObject *arg)
Py_complex z;
Py_complex _return_value;
- if (!PyArg_Parse(arg,
- "D:sinh",
- &z))
+ if (!PyArg_Parse(arg, "D:sinh", &z))
goto exit;
/* modifications for z */
errno = 0; PyFPE_START_PROTECT("complex function", goto exit);
@@ -537,9 +513,7 @@ cmath_sqrt(PyModuleDef *module, PyObject *arg)
Py_complex z;
Py_complex _return_value;
- if (!PyArg_Parse(arg,
- "D:sqrt",
- &z))
+ if (!PyArg_Parse(arg, "D:sqrt", &z))
goto exit;
/* modifications for z */
errno = 0; PyFPE_START_PROTECT("complex function", goto exit);
@@ -580,9 +554,7 @@ cmath_tan(PyModuleDef *module, PyObject *arg)
Py_complex z;
Py_complex _return_value;
- if (!PyArg_Parse(arg,
- "D:tan",
- &z))
+ if (!PyArg_Parse(arg, "D:tan", &z))
goto exit;
/* modifications for z */
errno = 0; PyFPE_START_PROTECT("complex function", goto exit);
@@ -623,9 +595,7 @@ cmath_tanh(PyModuleDef *module, PyObject *arg)
Py_complex z;
Py_complex _return_value;
- if (!PyArg_Parse(arg,
- "D:tanh",
- &z))
+ if (!PyArg_Parse(arg, "D:tanh", &z))
goto exit;
/* modifications for z */
errno = 0; PyFPE_START_PROTECT("complex function", goto exit);
@@ -668,8 +638,7 @@ cmath_log(PyModuleDef *module, PyObject *args)
Py_complex x;
PyObject *y_obj = NULL;
- if (!PyArg_ParseTuple(args,
- "D|O:log",
+ if (!PyArg_ParseTuple(args, "D|O:log",
&x, &y_obj))
goto exit;
return_value = cmath_log_impl(module, x, y_obj);
@@ -696,9 +665,7 @@ cmath_phase(PyModuleDef *module, PyObject *arg)
PyObject *return_value = NULL;
Py_complex z;
- if (!PyArg_Parse(arg,
- "D:phase",
- &z))
+ if (!PyArg_Parse(arg, "D:phase", &z))
goto exit;
return_value = cmath_phase_impl(module, z);
@@ -726,9 +693,7 @@ cmath_polar(PyModuleDef *module, PyObject *arg)
PyObject *return_value = NULL;
Py_complex z;
- if (!PyArg_Parse(arg,
- "D:polar",
- &z))
+ if (!PyArg_Parse(arg, "D:polar", &z))
goto exit;
return_value = cmath_polar_impl(module, z);
@@ -755,8 +720,7 @@ cmath_rect(PyModuleDef *module, PyObject *args)
double r;
double phi;
- if (!PyArg_ParseTuple(args,
- "dd:rect",
+ if (!PyArg_ParseTuple(args, "dd:rect",
&r, &phi))
goto exit;
return_value = cmath_rect_impl(module, r, phi);
@@ -783,9 +747,7 @@ cmath_isfinite(PyModuleDef *module, PyObject *arg)
PyObject *return_value = NULL;
Py_complex z;
- if (!PyArg_Parse(arg,
- "D:isfinite",
- &z))
+ if (!PyArg_Parse(arg, "D:isfinite", &z))
goto exit;
return_value = cmath_isfinite_impl(module, z);
@@ -811,9 +773,7 @@ cmath_isnan(PyModuleDef *module, PyObject *arg)
PyObject *return_value = NULL;
Py_complex z;
- if (!PyArg_Parse(arg,
- "D:isnan",
- &z))
+ if (!PyArg_Parse(arg, "D:isnan", &z))
goto exit;
return_value = cmath_isnan_impl(module, z);
@@ -839,13 +799,11 @@ cmath_isinf(PyModuleDef *module, PyObject *arg)
PyObject *return_value = NULL;
Py_complex z;
- if (!PyArg_Parse(arg,
- "D:isinf",
- &z))
+ if (!PyArg_Parse(arg, "D:isinf", &z))
goto exit;
return_value = cmath_isinf_impl(module, z);
exit:
return return_value;
}
-/*[clinic end generated code: output=9143b8dcc8069024 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=274f59792cf4f418 input=a9049054013a1b77]*/
diff --git a/Modules/clinic/fcntlmodule.c.h b/Modules/clinic/fcntlmodule.c.h
index 2a1f8aa..5e3b1c0 100644
--- a/Modules/clinic/fcntlmodule.c.h
+++ b/Modules/clinic/fcntlmodule.c.h
@@ -32,8 +32,7 @@ fcntl_fcntl(PyModuleDef *module, PyObject *args)
int code;
PyObject *arg = NULL;
- if (!PyArg_ParseTuple(args,
- "O&i|O:fcntl",
+ if (!PyArg_ParseTuple(args, "O&i|O:fcntl",
conv_descriptor, &fd, &code, &arg))
goto exit;
return_value = fcntl_fcntl_impl(module, fd, code, arg);
@@ -91,8 +90,7 @@ fcntl_ioctl(PyModuleDef *module, PyObject *args)
PyObject *ob_arg = NULL;
int mutate_arg = 1;
- if (!PyArg_ParseTuple(args,
- "O&I|Op:ioctl",
+ if (!PyArg_ParseTuple(args, "O&I|Op:ioctl",
conv_descriptor, &fd, &code, &ob_arg, &mutate_arg))
goto exit;
return_value = fcntl_ioctl_impl(module, fd, code, ob_arg, mutate_arg);
@@ -123,8 +121,7 @@ fcntl_flock(PyModuleDef *module, PyObject *args)
int fd;
int code;
- if (!PyArg_ParseTuple(args,
- "O&i:flock",
+ if (!PyArg_ParseTuple(args, "O&i:flock",
conv_descriptor, &fd, &code))
goto exit;
return_value = fcntl_flock_impl(module, fd, code);
@@ -177,8 +174,7 @@ fcntl_lockf(PyModuleDef *module, PyObject *args)
PyObject *startobj = NULL;
int whence = 0;
- if (!PyArg_ParseTuple(args,
- "O&i|OOi:lockf",
+ if (!PyArg_ParseTuple(args, "O&i|OOi:lockf",
conv_descriptor, &fd, &code, &lenobj, &startobj, &whence))
goto exit;
return_value = fcntl_lockf_impl(module, fd, code, lenobj, startobj, whence);
@@ -186,4 +182,4 @@ fcntl_lockf(PyModuleDef *module, PyObject *args)
exit:
return return_value;
}
-/*[clinic end generated code: output=badaa968eb04410d input=a9049054013a1b77]*/
+/*[clinic end generated code: output=92963b631d00f0fe input=a9049054013a1b77]*/
diff --git a/Modules/clinic/grpmodule.c.h b/Modules/clinic/grpmodule.c.h
index 6818309..eb5b59d 100644
--- a/Modules/clinic/grpmodule.c.h
+++ b/Modules/clinic/grpmodule.c.h
@@ -23,8 +23,7 @@ grp_getgrgid(PyModuleDef *module, PyObject *args, PyObject *kwargs)
static char *_keywords[] = {"id", NULL};
PyObject *id;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "O:getgrgid", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O:getgrgid", _keywords,
&id))
goto exit;
return_value = grp_getgrgid_impl(module, id);
@@ -54,8 +53,7 @@ grp_getgrnam(PyModuleDef *module, PyObject *args, PyObject *kwargs)
static char *_keywords[] = {"name", NULL};
PyObject *name;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "U:getgrnam", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "U:getgrnam", _keywords,
&name))
goto exit;
return_value = grp_getgrnam_impl(module, name);
@@ -84,4 +82,4 @@ grp_getgrall(PyModuleDef *module, PyObject *Py_UNUSED(ignored))
{
return grp_getgrall_impl(module);
}
-/*[clinic end generated code: output=4709a6ba40bb8df9 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=5191c25600afb1bd input=a9049054013a1b77]*/
diff --git a/Modules/clinic/md5module.c.h b/Modules/clinic/md5module.c.h
index 665c831..f5a3117 100644
--- a/Modules/clinic/md5module.c.h
+++ b/Modules/clinic/md5module.c.h
@@ -84,8 +84,7 @@ _md5_md5(PyModuleDef *module, PyObject *args, PyObject *kwargs)
static char *_keywords[] = {"string", NULL};
PyObject *string = NULL;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "|O:md5", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|O:md5", _keywords,
&string))
goto exit;
return_value = _md5_md5_impl(module, string);
@@ -93,4 +92,4 @@ _md5_md5(PyModuleDef *module, PyObject *args, PyObject *kwargs)
exit:
return return_value;
}
-/*[clinic end generated code: output=f72618edfd35d984 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=0f803ded701aca54 input=a9049054013a1b77]*/
diff --git a/Modules/clinic/posixmodule.c.h b/Modules/clinic/posixmodule.c.h
index fc79f57..e305512 100644
--- a/Modules/clinic/posixmodule.c.h
+++ b/Modules/clinic/posixmodule.c.h
@@ -42,8 +42,7 @@ os_stat(PyModuleDef *module, PyObject *args, PyObject *kwargs)
int dir_fd = DEFAULT_DIR_FD;
int follow_symlinks = 1;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "O&|$O&p:stat", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O&|$O&p:stat", _keywords,
path_converter, &path, FSTATAT_DIR_FD_CONVERTER, &dir_fd, &follow_symlinks))
goto exit;
return_value = os_stat_impl(module, &path, dir_fd, follow_symlinks);
@@ -78,8 +77,7 @@ os_lstat(PyModuleDef *module, PyObject *args, PyObject *kwargs)
path_t path = PATH_T_INITIALIZE("lstat", "path", 0, 0);
int dir_fd = DEFAULT_DIR_FD;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "O&|$O&:lstat", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O&|$O&:lstat", _keywords,
path_converter, &path, FSTATAT_DIR_FD_CONVERTER, &dir_fd))
goto exit;
return_value = os_lstat_impl(module, &path, dir_fd);
@@ -142,8 +140,7 @@ os_access(PyModuleDef *module, PyObject *args, PyObject *kwargs)
int follow_symlinks = 1;
int _return_value;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "O&i|$O&pp:access", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O&i|$O&pp:access", _keywords,
path_converter, &path, &mode, FACCESSAT_DIR_FD_CONVERTER, &dir_fd, &effective_ids, &follow_symlinks))
goto exit;
_return_value = os_access_impl(module, &path, mode, dir_fd, effective_ids, follow_symlinks);
@@ -182,9 +179,7 @@ os_ttyname(PyModuleDef *module, PyObject *arg)
int fd;
char *_return_value;
- if (!PyArg_Parse(arg,
- "i:ttyname",
- &fd))
+ if (!PyArg_Parse(arg, "i:ttyname", &fd))
goto exit;
_return_value = os_ttyname_impl(module, fd);
if (_return_value == NULL)
@@ -242,8 +237,7 @@ os_chdir(PyModuleDef *module, PyObject *args, PyObject *kwargs)
static char *_keywords[] = {"path", NULL};
path_t path = PATH_T_INITIALIZE("chdir", "path", 0, PATH_HAVE_FCHDIR);
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "O&:chdir", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O&:chdir", _keywords,
path_converter, &path))
goto exit;
return_value = os_chdir_impl(module, &path);
@@ -279,8 +273,7 @@ os_fchdir(PyModuleDef *module, PyObject *args, PyObject *kwargs)
static char *_keywords[] = {"fd", NULL};
int fd;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "O&:fchdir", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O&:fchdir", _keywords,
fildes_converter, &fd))
goto exit;
return_value = os_fchdir_impl(module, fd);
@@ -334,8 +327,7 @@ os_chmod(PyModuleDef *module, PyObject *args, PyObject *kwargs)
int dir_fd = DEFAULT_DIR_FD;
int follow_symlinks = 1;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "O&i|$O&p:chmod", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O&i|$O&p:chmod", _keywords,
path_converter, &path, &mode, FCHMODAT_DIR_FD_CONVERTER, &dir_fd, &follow_symlinks))
goto exit;
return_value = os_chmod_impl(module, &path, mode, dir_fd, follow_symlinks);
@@ -371,8 +363,7 @@ os_fchmod(PyModuleDef *module, PyObject *args, PyObject *kwargs)
int fd;
int mode;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "ii:fchmod", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "ii:fchmod", _keywords,
&fd, &mode))
goto exit;
return_value = os_fchmod_impl(module, fd, mode);
@@ -408,8 +399,7 @@ os_lchmod(PyModuleDef *module, PyObject *args, PyObject *kwargs)
path_t path = PATH_T_INITIALIZE("lchmod", "path", 0, 0);
int mode;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "O&i:lchmod", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O&i:lchmod", _keywords,
path_converter, &path, &mode))
goto exit;
return_value = os_lchmod_impl(module, &path, mode);
@@ -453,8 +443,7 @@ os_chflags(PyModuleDef *module, PyObject *args, PyObject *kwargs)
unsigned long flags;
int follow_symlinks = 1;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "O&k|p:chflags", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O&k|p:chflags", _keywords,
path_converter, &path, &flags, &follow_symlinks))
goto exit;
return_value = os_chflags_impl(module, &path, flags, follow_symlinks);
@@ -493,8 +482,7 @@ os_lchflags(PyModuleDef *module, PyObject *args, PyObject *kwargs)
path_t path = PATH_T_INITIALIZE("lchflags", "path", 0, 0);
unsigned long flags;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "O&k:lchflags", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O&k:lchflags", _keywords,
path_converter, &path, &flags))
goto exit;
return_value = os_lchflags_impl(module, &path, flags);
@@ -529,8 +517,7 @@ os_chroot(PyModuleDef *module, PyObject *args, PyObject *kwargs)
static char *_keywords[] = {"path", NULL};
path_t path = PATH_T_INITIALIZE("chroot", "path", 0, 0);
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "O&:chroot", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O&:chroot", _keywords,
path_converter, &path))
goto exit;
return_value = os_chroot_impl(module, &path);
@@ -565,8 +552,7 @@ os_fsync(PyModuleDef *module, PyObject *args, PyObject *kwargs)
static char *_keywords[] = {"fd", NULL};
int fd;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "O&:fsync", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O&:fsync", _keywords,
fildes_converter, &fd))
goto exit;
return_value = os_fsync_impl(module, fd);
@@ -620,8 +606,7 @@ os_fdatasync(PyModuleDef *module, PyObject *args, PyObject *kwargs)
static char *_keywords[] = {"fd", NULL};
int fd;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "O&:fdatasync", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O&:fdatasync", _keywords,
fildes_converter, &fd))
goto exit;
return_value = os_fdatasync_impl(module, fd);
@@ -682,8 +667,7 @@ os_chown(PyModuleDef *module, PyObject *args, PyObject *kwargs)
int dir_fd = DEFAULT_DIR_FD;
int follow_symlinks = 1;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "O&O&O&|$O&p:chown", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O&O&O&|$O&p:chown", _keywords,
path_converter, &path, _Py_Uid_Converter, &uid, _Py_Gid_Converter, &gid, FCHOWNAT_DIR_FD_CONVERTER, &dir_fd, &follow_symlinks))
goto exit;
return_value = os_chown_impl(module, &path, uid, gid, dir_fd, follow_symlinks);
@@ -722,8 +706,7 @@ os_fchown(PyModuleDef *module, PyObject *args, PyObject *kwargs)
uid_t uid;
gid_t gid;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "iO&O&:fchown", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "iO&O&:fchown", _keywords,
&fd, _Py_Uid_Converter, &uid, _Py_Gid_Converter, &gid))
goto exit;
return_value = os_fchown_impl(module, fd, uid, gid);
@@ -760,8 +743,7 @@ os_lchown(PyModuleDef *module, PyObject *args, PyObject *kwargs)
uid_t uid;
gid_t gid;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "O&O&O&:lchown", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O&O&O&:lchown", _keywords,
path_converter, &path, _Py_Uid_Converter, &uid, _Py_Gid_Converter, &gid))
goto exit;
return_value = os_lchown_impl(module, &path, uid, gid);
@@ -848,8 +830,7 @@ os_link(PyModuleDef *module, PyObject *args, PyObject *kwargs)
int dst_dir_fd = DEFAULT_DIR_FD;
int follow_symlinks = 1;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "O&O&|$O&O&p:link", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O&O&|$O&O&p:link", _keywords,
path_converter, &src, path_converter, &dst, dir_fd_converter, &src_dir_fd, dir_fd_converter, &dst_dir_fd, &follow_symlinks))
goto exit;
return_value = os_link_impl(module, &src, &dst, src_dir_fd, dst_dir_fd, follow_symlinks);
@@ -895,8 +876,7 @@ os_listdir(PyModuleDef *module, PyObject *args, PyObject *kwargs)
static char *_keywords[] = {"path", NULL};
path_t path = PATH_T_INITIALIZE("listdir", "path", 1, PATH_HAVE_FDOPENDIR);
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "|O&:listdir", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|O&:listdir", _keywords,
path_converter, &path))
goto exit;
return_value = os_listdir_impl(module, &path);
@@ -928,9 +908,7 @@ os__getfinalpathname(PyModuleDef *module, PyObject *arg)
PyObject *return_value = NULL;
PyObject *path;
- if (!PyArg_Parse(arg,
- "U:_getfinalpathname",
- &path))
+ if (!PyArg_Parse(arg, "U:_getfinalpathname", &path))
goto exit;
return_value = os__getfinalpathname_impl(module, path);
@@ -961,8 +939,7 @@ os__getvolumepathname(PyModuleDef *module, PyObject *args, PyObject *kwargs)
static char *_keywords[] = {"path", NULL};
PyObject *path;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "U:_getvolumepathname", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "U:_getvolumepathname", _keywords,
&path))
goto exit;
return_value = os__getvolumepathname_impl(module, path);
@@ -1001,8 +978,7 @@ os_mkdir(PyModuleDef *module, PyObject *args, PyObject *kwargs)
int mode = 511;
int dir_fd = DEFAULT_DIR_FD;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "O&|i$O&:mkdir", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O&|i$O&:mkdir", _keywords,
path_converter, &path, &mode, MKDIRAT_DIR_FD_CONVERTER, &dir_fd))
goto exit;
return_value = os_mkdir_impl(module, &path, mode, dir_fd);
@@ -1034,9 +1010,7 @@ os_nice(PyModuleDef *module, PyObject *arg)
PyObject *return_value = NULL;
int increment;
- if (!PyArg_Parse(arg,
- "i:nice",
- &increment))
+ if (!PyArg_Parse(arg, "i:nice", &increment))
goto exit;
return_value = os_nice_impl(module, increment);
@@ -1068,8 +1042,7 @@ os_getpriority(PyModuleDef *module, PyObject *args, PyObject *kwargs)
int which;
int who;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "ii:getpriority", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "ii:getpriority", _keywords,
&which, &who))
goto exit;
return_value = os_getpriority_impl(module, which, who);
@@ -1103,8 +1076,7 @@ os_setpriority(PyModuleDef *module, PyObject *args, PyObject *kwargs)
int who;
int priority;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "iii:setpriority", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "iii:setpriority", _keywords,
&which, &who, &priority))
goto exit;
return_value = os_setpriority_impl(module, which, who, priority);
@@ -1144,8 +1116,7 @@ os_rename(PyModuleDef *module, PyObject *args, PyObject *kwargs)
int src_dir_fd = DEFAULT_DIR_FD;
int dst_dir_fd = DEFAULT_DIR_FD;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "O&O&|$O&O&:rename", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O&O&|$O&O&:rename", _keywords,
path_converter, &src, path_converter, &dst, dir_fd_converter, &src_dir_fd, dir_fd_converter, &dst_dir_fd))
goto exit;
return_value = os_rename_impl(module, &src, &dst, src_dir_fd, dst_dir_fd);
@@ -1188,8 +1159,7 @@ os_replace(PyModuleDef *module, PyObject *args, PyObject *kwargs)
int src_dir_fd = DEFAULT_DIR_FD;
int dst_dir_fd = DEFAULT_DIR_FD;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "O&O&|$O&O&:replace", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O&O&|$O&O&:replace", _keywords,
path_converter, &src, path_converter, &dst, dir_fd_converter, &src_dir_fd, dir_fd_converter, &dst_dir_fd))
goto exit;
return_value = os_replace_impl(module, &src, &dst, src_dir_fd, dst_dir_fd);
@@ -1228,8 +1198,7 @@ os_rmdir(PyModuleDef *module, PyObject *args, PyObject *kwargs)
path_t path = PATH_T_INITIALIZE("rmdir", "path", 0, 0);
int dir_fd = DEFAULT_DIR_FD;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "O&|$O&:rmdir", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O&|$O&:rmdir", _keywords,
path_converter, &path, UNLINKAT_DIR_FD_CONVERTER, &dir_fd))
goto exit;
return_value = os_rmdir_impl(module, &path, dir_fd);
@@ -1263,8 +1232,7 @@ os_system(PyModuleDef *module, PyObject *args, PyObject *kwargs)
Py_UNICODE *command;
long _return_value;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "u:system", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "u:system", _keywords,
&command))
goto exit;
_return_value = os_system_impl(module, command);
@@ -1300,8 +1268,7 @@ os_system(PyModuleDef *module, PyObject *args, PyObject *kwargs)
PyObject *command = NULL;
long _return_value;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "O&:system", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O&:system", _keywords,
PyUnicode_FSConverter, &command))
goto exit;
_return_value = os_system_impl(module, command);
@@ -1336,9 +1303,7 @@ os_umask(PyModuleDef *module, PyObject *arg)
PyObject *return_value = NULL;
int mask;
- if (!PyArg_Parse(arg,
- "i:umask",
- &mask))
+ if (!PyArg_Parse(arg, "i:umask", &mask))
goto exit;
return_value = os_umask_impl(module, mask);
@@ -1371,8 +1336,7 @@ os_unlink(PyModuleDef *module, PyObject *args, PyObject *kwargs)
path_t path = PATH_T_INITIALIZE("unlink", "path", 0, 0);
int dir_fd = DEFAULT_DIR_FD;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "O&|$O&:unlink", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O&|$O&:unlink", _keywords,
path_converter, &path, UNLINKAT_DIR_FD_CONVERTER, &dir_fd))
goto exit;
return_value = os_unlink_impl(module, &path, dir_fd);
@@ -1409,8 +1373,7 @@ os_remove(PyModuleDef *module, PyObject *args, PyObject *kwargs)
path_t path = PATH_T_INITIALIZE("remove", "path", 0, 0);
int dir_fd = DEFAULT_DIR_FD;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "O&|$O&:remove", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O&|$O&:remove", _keywords,
path_converter, &path, UNLINKAT_DIR_FD_CONVERTER, &dir_fd))
goto exit;
return_value = os_remove_impl(module, &path, dir_fd);
@@ -1494,8 +1457,7 @@ os_utime(PyModuleDef *module, PyObject *args, PyObject *kwargs)
int dir_fd = DEFAULT_DIR_FD;
int follow_symlinks = 1;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "O&|O$OO&p:utime", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O&|O$OO&p:utime", _keywords,
path_converter, &path, &times, &ns, FUTIMENSAT_DIR_FD_CONVERTER, &dir_fd, &follow_symlinks))
goto exit;
return_value = os_utime_impl(module, &path, times, ns, dir_fd, follow_symlinks);
@@ -1526,8 +1488,7 @@ os__exit(PyModuleDef *module, PyObject *args, PyObject *kwargs)
static char *_keywords[] = {"status", NULL};
int status;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "i:_exit", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "i:_exit", _keywords,
&status))
goto exit;
return_value = os__exit_impl(module, status);
@@ -1562,8 +1523,7 @@ os_execv(PyModuleDef *module, PyObject *args)
PyObject *path = NULL;
PyObject *argv;
- if (!PyArg_ParseTuple(args,
- "O&O:execv",
+ if (!PyArg_ParseTuple(args, "O&O:execv",
PyUnicode_FSConverter, &path, &argv))
goto exit;
return_value = os_execv_impl(module, path, argv);
@@ -1608,8 +1568,7 @@ os_execve(PyModuleDef *module, PyObject *args, PyObject *kwargs)
PyObject *argv;
PyObject *env;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "O&OO:execve", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O&OO:execve", _keywords,
path_converter, &path, &argv, &env))
goto exit;
return_value = os_execve_impl(module, &path, argv, env);
@@ -1652,8 +1611,7 @@ os_spawnv(PyModuleDef *module, PyObject *args)
PyObject *path = NULL;
PyObject *argv;
- if (!PyArg_ParseTuple(args,
- "iO&O:spawnv",
+ if (!PyArg_ParseTuple(args, "iO&O:spawnv",
&mode, PyUnicode_FSConverter, &path, &argv))
goto exit;
return_value = os_spawnv_impl(module, mode, path, argv);
@@ -1700,8 +1658,7 @@ os_spawnve(PyModuleDef *module, PyObject *args)
PyObject *argv;
PyObject *env;
- if (!PyArg_ParseTuple(args,
- "iO&OO:spawnve",
+ if (!PyArg_ParseTuple(args, "iO&OO:spawnve",
&mode, PyUnicode_FSConverter, &path, &argv, &env))
goto exit;
return_value = os_spawnve_impl(module, mode, path, argv, env);
@@ -1784,8 +1741,7 @@ os_sched_get_priority_max(PyModuleDef *module, PyObject *args, PyObject *kwargs)
static char *_keywords[] = {"policy", NULL};
int policy;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "i:sched_get_priority_max", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "i:sched_get_priority_max", _keywords,
&policy))
goto exit;
return_value = os_sched_get_priority_max_impl(module, policy);
@@ -1817,8 +1773,7 @@ os_sched_get_priority_min(PyModuleDef *module, PyObject *args, PyObject *kwargs)
static char *_keywords[] = {"policy", NULL};
int policy;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "i:sched_get_priority_min", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "i:sched_get_priority_min", _keywords,
&policy))
goto exit;
return_value = os_sched_get_priority_min_impl(module, policy);
@@ -1851,9 +1806,7 @@ os_sched_getscheduler(PyModuleDef *module, PyObject *arg)
PyObject *return_value = NULL;
pid_t pid;
- if (!PyArg_Parse(arg,
- "" _Py_PARSE_PID ":sched_getscheduler",
- &pid))
+ if (!PyArg_Parse(arg, "" _Py_PARSE_PID ":sched_getscheduler", &pid))
goto exit;
return_value = os_sched_getscheduler_impl(module, pid);
@@ -1884,8 +1837,7 @@ os_sched_param(PyTypeObject *type, PyObject *args, PyObject *kwargs)
static char *_keywords[] = {"sched_priority", NULL};
PyObject *sched_priority;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "O:sched_param", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O:sched_param", _keywords,
&sched_priority))
goto exit;
return_value = os_sched_param_impl(type, sched_priority);
@@ -1922,8 +1874,7 @@ os_sched_setscheduler(PyModuleDef *module, PyObject *args)
int policy;
struct sched_param param;
- if (!PyArg_ParseTuple(args,
- "" _Py_PARSE_PID "iO&:sched_setscheduler",
+ if (!PyArg_ParseTuple(args, "" _Py_PARSE_PID "iO&:sched_setscheduler",
&pid, &policy, convert_sched_param, &param))
goto exit;
return_value = os_sched_setscheduler_impl(module, pid, policy, &param);
@@ -1957,9 +1908,7 @@ os_sched_getparam(PyModuleDef *module, PyObject *arg)
PyObject *return_value = NULL;
pid_t pid;
- if (!PyArg_Parse(arg,
- "" _Py_PARSE_PID ":sched_getparam",
- &pid))
+ if (!PyArg_Parse(arg, "" _Py_PARSE_PID ":sched_getparam", &pid))
goto exit;
return_value = os_sched_getparam_impl(module, pid);
@@ -1994,8 +1943,7 @@ os_sched_setparam(PyModuleDef *module, PyObject *args)
pid_t pid;
struct sched_param param;
- if (!PyArg_ParseTuple(args,
- "" _Py_PARSE_PID "O&:sched_setparam",
+ if (!PyArg_ParseTuple(args, "" _Py_PARSE_PID "O&:sched_setparam",
&pid, convert_sched_param, &param))
goto exit;
return_value = os_sched_setparam_impl(module, pid, &param);
@@ -2029,9 +1977,7 @@ os_sched_rr_get_interval(PyModuleDef *module, PyObject *arg)
pid_t pid;
double _return_value;
- if (!PyArg_Parse(arg,
- "" _Py_PARSE_PID ":sched_rr_get_interval",
- &pid))
+ if (!PyArg_Parse(arg, "" _Py_PARSE_PID ":sched_rr_get_interval", &pid))
goto exit;
_return_value = os_sched_rr_get_interval_impl(module, pid);
if ((_return_value == -1.0) && PyErr_Occurred())
@@ -2089,8 +2035,7 @@ os_sched_setaffinity(PyModuleDef *module, PyObject *args)
pid_t pid;
PyObject *mask;
- if (!PyArg_ParseTuple(args,
- "" _Py_PARSE_PID "O:sched_setaffinity",
+ if (!PyArg_ParseTuple(args, "" _Py_PARSE_PID "O:sched_setaffinity",
&pid, &mask))
goto exit;
return_value = os_sched_setaffinity_impl(module, pid, mask);
@@ -2123,9 +2068,7 @@ os_sched_getaffinity(PyModuleDef *module, PyObject *arg)
PyObject *return_value = NULL;
pid_t pid;
- if (!PyArg_Parse(arg,
- "" _Py_PARSE_PID ":sched_getaffinity",
- &pid))
+ if (!PyArg_Parse(arg, "" _Py_PARSE_PID ":sched_getaffinity", &pid))
goto exit;
return_value = os_sched_getaffinity_impl(module, pid);
@@ -2314,8 +2257,7 @@ os_getpgid(PyModuleDef *module, PyObject *args, PyObject *kwargs)
static char *_keywords[] = {"pid", NULL};
pid_t pid;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "" _Py_PARSE_PID ":getpgid", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "" _Py_PARSE_PID ":getpgid", _keywords,
&pid))
goto exit;
return_value = os_getpgid_impl(module, pid);
@@ -2460,8 +2402,7 @@ os_kill(PyModuleDef *module, PyObject *args)
pid_t pid;
Py_ssize_t signal;
- if (!PyArg_ParseTuple(args,
- "" _Py_PARSE_PID "n:kill",
+ if (!PyArg_ParseTuple(args, "" _Py_PARSE_PID "n:kill",
&pid, &signal))
goto exit;
return_value = os_kill_impl(module, pid, signal);
@@ -2493,8 +2434,7 @@ os_killpg(PyModuleDef *module, PyObject *args)
pid_t pgid;
int signal;
- if (!PyArg_ParseTuple(args,
- "" _Py_PARSE_PID "i:killpg",
+ if (!PyArg_ParseTuple(args, "" _Py_PARSE_PID "i:killpg",
&pgid, &signal))
goto exit;
return_value = os_killpg_impl(module, pgid, signal);
@@ -2525,9 +2465,7 @@ os_plock(PyModuleDef *module, PyObject *arg)
PyObject *return_value = NULL;
int op;
- if (!PyArg_Parse(arg,
- "i:plock",
- &op))
+ if (!PyArg_Parse(arg, "i:plock", &op))
goto exit;
return_value = os_plock_impl(module, op);
@@ -2557,9 +2495,7 @@ os_setuid(PyModuleDef *module, PyObject *arg)
PyObject *return_value = NULL;
uid_t uid;
- if (!PyArg_Parse(arg,
- "O&:setuid",
- _Py_Uid_Converter, &uid))
+ if (!PyArg_Parse(arg, "O&:setuid", _Py_Uid_Converter, &uid))
goto exit;
return_value = os_setuid_impl(module, uid);
@@ -2589,9 +2525,7 @@ os_seteuid(PyModuleDef *module, PyObject *arg)
PyObject *return_value = NULL;
uid_t euid;
- if (!PyArg_Parse(arg,
- "O&:seteuid",
- _Py_Uid_Converter, &euid))
+ if (!PyArg_Parse(arg, "O&:seteuid", _Py_Uid_Converter, &euid))
goto exit;
return_value = os_seteuid_impl(module, euid);
@@ -2621,9 +2555,7 @@ os_setegid(PyModuleDef *module, PyObject *arg)
PyObject *return_value = NULL;
gid_t egid;
- if (!PyArg_Parse(arg,
- "O&:setegid",
- _Py_Gid_Converter, &egid))
+ if (!PyArg_Parse(arg, "O&:setegid", _Py_Gid_Converter, &egid))
goto exit;
return_value = os_setegid_impl(module, egid);
@@ -2654,8 +2586,7 @@ os_setreuid(PyModuleDef *module, PyObject *args)
uid_t ruid;
uid_t euid;
- if (!PyArg_ParseTuple(args,
- "O&O&:setreuid",
+ if (!PyArg_ParseTuple(args, "O&O&:setreuid",
_Py_Uid_Converter, &ruid, _Py_Uid_Converter, &euid))
goto exit;
return_value = os_setreuid_impl(module, ruid, euid);
@@ -2687,8 +2618,7 @@ os_setregid(PyModuleDef *module, PyObject *args)
gid_t rgid;
gid_t egid;
- if (!PyArg_ParseTuple(args,
- "O&O&:setregid",
+ if (!PyArg_ParseTuple(args, "O&O&:setregid",
_Py_Gid_Converter, &rgid, _Py_Gid_Converter, &egid))
goto exit;
return_value = os_setregid_impl(module, rgid, egid);
@@ -2719,9 +2649,7 @@ os_setgid(PyModuleDef *module, PyObject *arg)
PyObject *return_value = NULL;
gid_t gid;
- if (!PyArg_Parse(arg,
- "O&:setgid",
- _Py_Gid_Converter, &gid))
+ if (!PyArg_Parse(arg, "O&:setgid", _Py_Gid_Converter, &gid))
goto exit;
return_value = os_setgid_impl(module, gid);
@@ -2768,8 +2696,7 @@ os_wait3(PyModuleDef *module, PyObject *args, PyObject *kwargs)
static char *_keywords[] = {"options", NULL};
int options;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "i:wait3", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "i:wait3", _keywords,
&options))
goto exit;
return_value = os_wait3_impl(module, options);
@@ -2805,8 +2732,7 @@ os_wait4(PyModuleDef *module, PyObject *args, PyObject *kwargs)
pid_t pid;
int options;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "" _Py_PARSE_PID "i:wait4", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "" _Py_PARSE_PID "i:wait4", _keywords,
&pid, &options))
goto exit;
return_value = os_wait4_impl(module, pid, options);
@@ -2850,8 +2776,7 @@ os_waitid(PyModuleDef *module, PyObject *args)
id_t id;
int options;
- if (!PyArg_ParseTuple(args,
- "i" _Py_PARSE_PID "i:waitid",
+ if (!PyArg_ParseTuple(args, "i" _Py_PARSE_PID "i:waitid",
&idtype, &id, &options))
goto exit;
return_value = os_waitid_impl(module, idtype, id, options);
@@ -2888,8 +2813,7 @@ os_waitpid(PyModuleDef *module, PyObject *args)
pid_t pid;
int options;
- if (!PyArg_ParseTuple(args,
- "" _Py_PARSE_PID "i:waitpid",
+ if (!PyArg_ParseTuple(args, "" _Py_PARSE_PID "i:waitpid",
&pid, &options))
goto exit;
return_value = os_waitpid_impl(module, pid, options);
@@ -2926,8 +2850,7 @@ os_waitpid(PyModuleDef *module, PyObject *args)
Py_intptr_t pid;
int options;
- if (!PyArg_ParseTuple(args,
- "" _Py_PARSE_INTPTR "i:waitpid",
+ if (!PyArg_ParseTuple(args, "" _Py_PARSE_INTPTR "i:waitpid",
&pid, &options))
goto exit;
return_value = os_waitpid_impl(module, pid, options);
@@ -2998,8 +2921,7 @@ os_symlink(PyModuleDef *module, PyObject *args, PyObject *kwargs)
int target_is_directory = 0;
int dir_fd = DEFAULT_DIR_FD;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "O&O&|p$O&:symlink", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O&O&|p$O&:symlink", _keywords,
path_converter, &src, path_converter, &dst, &target_is_directory, SYMLINKAT_DIR_FD_CONVERTER, &dir_fd))
goto exit;
return_value = os_symlink_impl(module, &src, &dst, target_is_directory, dir_fd);
@@ -3061,9 +2983,7 @@ os_getsid(PyModuleDef *module, PyObject *arg)
PyObject *return_value = NULL;
pid_t pid;
- if (!PyArg_Parse(arg,
- "" _Py_PARSE_PID ":getsid",
- &pid))
+ if (!PyArg_Parse(arg, "" _Py_PARSE_PID ":getsid", &pid))
goto exit;
return_value = os_getsid_impl(module, pid);
@@ -3116,8 +3036,7 @@ os_setpgid(PyModuleDef *module, PyObject *args)
pid_t pid;
pid_t pgrp;
- if (!PyArg_ParseTuple(args,
- "" _Py_PARSE_PID "" _Py_PARSE_PID ":setpgid",
+ if (!PyArg_ParseTuple(args, "" _Py_PARSE_PID "" _Py_PARSE_PID ":setpgid",
&pid, &pgrp))
goto exit;
return_value = os_setpgid_impl(module, pid, pgrp);
@@ -3148,9 +3067,7 @@ os_tcgetpgrp(PyModuleDef *module, PyObject *arg)
PyObject *return_value = NULL;
int fd;
- if (!PyArg_Parse(arg,
- "i:tcgetpgrp",
- &fd))
+ if (!PyArg_Parse(arg, "i:tcgetpgrp", &fd))
goto exit;
return_value = os_tcgetpgrp_impl(module, fd);
@@ -3181,8 +3098,7 @@ os_tcsetpgrp(PyModuleDef *module, PyObject *args)
int fd;
pid_t pgid;
- if (!PyArg_ParseTuple(args,
- "i" _Py_PARSE_PID ":tcsetpgrp",
+ if (!PyArg_ParseTuple(args, "i" _Py_PARSE_PID ":tcsetpgrp",
&fd, &pgid))
goto exit;
return_value = os_tcsetpgrp_impl(module, fd, pgid);
@@ -3222,8 +3138,7 @@ os_open(PyModuleDef *module, PyObject *args, PyObject *kwargs)
int dir_fd = DEFAULT_DIR_FD;
int _return_value;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "O&i|i$O&:open", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O&i|i$O&:open", _keywords,
path_converter, &path, &flags, &mode, OPENAT_DIR_FD_CONVERTER, &dir_fd))
goto exit;
_return_value = os_open_impl(module, &path, flags, mode, dir_fd);
@@ -3257,8 +3172,7 @@ os_close(PyModuleDef *module, PyObject *args, PyObject *kwargs)
static char *_keywords[] = {"fd", NULL};
int fd;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "i:close", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "i:close", _keywords,
&fd))
goto exit;
return_value = os_close_impl(module, fd);
@@ -3286,8 +3200,7 @@ os_closerange(PyModuleDef *module, PyObject *args)
int fd_low;
int fd_high;
- if (!PyArg_ParseTuple(args,
- "ii:closerange",
+ if (!PyArg_ParseTuple(args, "ii:closerange",
&fd_low, &fd_high))
goto exit;
return_value = os_closerange_impl(module, fd_low, fd_high);
@@ -3315,9 +3228,7 @@ os_dup(PyModuleDef *module, PyObject *arg)
int fd;
int _return_value;
- if (!PyArg_Parse(arg,
- "i:dup",
- &fd))
+ if (!PyArg_Parse(arg, "i:dup", &fd))
goto exit;
_return_value = os_dup_impl(module, fd);
if ((_return_value == -1) && PyErr_Occurred())
@@ -3349,8 +3260,7 @@ os_dup2(PyModuleDef *module, PyObject *args, PyObject *kwargs)
int fd2;
int inheritable = 1;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "ii|p:dup2", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "ii|p:dup2", _keywords,
&fd, &fd2, &inheritable))
goto exit;
return_value = os_dup2_impl(module, fd, fd2, inheritable);
@@ -3388,8 +3298,7 @@ os_lockf(PyModuleDef *module, PyObject *args)
int command;
Py_off_t length;
- if (!PyArg_ParseTuple(args,
- "iiO&:lockf",
+ if (!PyArg_ParseTuple(args, "iiO&:lockf",
&fd, &command, Py_off_t_converter, &length))
goto exit;
return_value = os_lockf_impl(module, fd, command, length);
@@ -3424,8 +3333,7 @@ os_lseek(PyModuleDef *module, PyObject *args)
int how;
Py_off_t _return_value;
- if (!PyArg_ParseTuple(args,
- "iO&i:lseek",
+ if (!PyArg_ParseTuple(args, "iO&i:lseek",
&fd, Py_off_t_converter, &position, &how))
goto exit;
_return_value = os_lseek_impl(module, fd, position, how);
@@ -3456,8 +3364,7 @@ os_read(PyModuleDef *module, PyObject *args)
int fd;
Py_ssize_t length;
- if (!PyArg_ParseTuple(args,
- "in:read",
+ if (!PyArg_ParseTuple(args, "in:read",
&fd, &length))
goto exit;
return_value = os_read_impl(module, fd, length);
@@ -3496,8 +3403,7 @@ os_readv(PyModuleDef *module, PyObject *args)
PyObject *buffers;
Py_ssize_t _return_value;
- if (!PyArg_ParseTuple(args,
- "iO:readv",
+ if (!PyArg_ParseTuple(args, "iO:readv",
&fd, &buffers))
goto exit;
_return_value = os_readv_impl(module, fd, buffers);
@@ -3536,8 +3442,7 @@ os_pread(PyModuleDef *module, PyObject *args)
int length;
Py_off_t offset;
- if (!PyArg_ParseTuple(args,
- "iiO&:pread",
+ if (!PyArg_ParseTuple(args, "iiO&:pread",
&fd, &length, Py_off_t_converter, &offset))
goto exit;
return_value = os_pread_impl(module, fd, length, offset);
@@ -3568,8 +3473,7 @@ os_write(PyModuleDef *module, PyObject *args)
Py_buffer data = {NULL, NULL};
Py_ssize_t _return_value;
- if (!PyArg_ParseTuple(args,
- "iy*:write",
+ if (!PyArg_ParseTuple(args, "iy*:write",
&fd, &data))
goto exit;
_return_value = os_write_impl(module, fd, &data);
@@ -3607,8 +3511,7 @@ os_fstat(PyModuleDef *module, PyObject *args, PyObject *kwargs)
static char *_keywords[] = {"fd", NULL};
int fd;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "i:fstat", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "i:fstat", _keywords,
&fd))
goto exit;
return_value = os_fstat_impl(module, fd);
@@ -3639,9 +3542,7 @@ os_isatty(PyModuleDef *module, PyObject *arg)
int fd;
int _return_value;
- if (!PyArg_Parse(arg,
- "i:isatty",
- &fd))
+ if (!PyArg_Parse(arg, "i:isatty", &fd))
goto exit;
_return_value = os_isatty_impl(module, fd);
if ((_return_value == -1) && PyErr_Occurred())
@@ -3703,9 +3604,7 @@ os_pipe2(PyModuleDef *module, PyObject *arg)
PyObject *return_value = NULL;
int flags;
- if (!PyArg_Parse(arg,
- "i:pipe2",
- &flags))
+ if (!PyArg_Parse(arg, "i:pipe2", &flags))
goto exit;
return_value = os_pipe2_impl(module, flags);
@@ -3740,8 +3639,7 @@ os_writev(PyModuleDef *module, PyObject *args)
PyObject *buffers;
Py_ssize_t _return_value;
- if (!PyArg_ParseTuple(args,
- "iO:writev",
+ if (!PyArg_ParseTuple(args, "iO:writev",
&fd, &buffers))
goto exit;
_return_value = os_writev_impl(module, fd, buffers);
@@ -3783,8 +3681,7 @@ os_pwrite(PyModuleDef *module, PyObject *args)
Py_off_t offset;
Py_ssize_t _return_value;
- if (!PyArg_ParseTuple(args,
- "iy*O&:pwrite",
+ if (!PyArg_ParseTuple(args, "iy*O&:pwrite",
&fd, &buffer, Py_off_t_converter, &offset))
goto exit;
_return_value = os_pwrite_impl(module, fd, &buffer, offset);
@@ -3830,8 +3727,7 @@ os_mkfifo(PyModuleDef *module, PyObject *args, PyObject *kwargs)
int mode = 438;
int dir_fd = DEFAULT_DIR_FD;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "O&|i$O&:mkfifo", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O&|i$O&:mkfifo", _keywords,
path_converter, &path, &mode, MKFIFOAT_DIR_FD_CONVERTER, &dir_fd))
goto exit;
return_value = os_mkfifo_impl(module, &path, mode, dir_fd);
@@ -3882,8 +3778,7 @@ os_mknod(PyModuleDef *module, PyObject *args, PyObject *kwargs)
dev_t device = 0;
int dir_fd = DEFAULT_DIR_FD;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "O&|iO&$O&:mknod", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O&|iO&$O&:mknod", _keywords,
path_converter, &path, &mode, _Py_Dev_Converter, &device, MKNODAT_DIR_FD_CONVERTER, &dir_fd))
goto exit;
return_value = os_mknod_impl(module, &path, mode, device, dir_fd);
@@ -3918,9 +3813,7 @@ os_major(PyModuleDef *module, PyObject *arg)
dev_t device;
unsigned int _return_value;
- if (!PyArg_Parse(arg,
- "O&:major",
- _Py_Dev_Converter, &device))
+ if (!PyArg_Parse(arg, "O&:major", _Py_Dev_Converter, &device))
goto exit;
_return_value = os_major_impl(module, device);
if ((_return_value == (unsigned int)-1) && PyErr_Occurred())
@@ -3954,9 +3847,7 @@ os_minor(PyModuleDef *module, PyObject *arg)
dev_t device;
unsigned int _return_value;
- if (!PyArg_Parse(arg,
- "O&:minor",
- _Py_Dev_Converter, &device))
+ if (!PyArg_Parse(arg, "O&:minor", _Py_Dev_Converter, &device))
goto exit;
_return_value = os_minor_impl(module, device);
if ((_return_value == (unsigned int)-1) && PyErr_Occurred())
@@ -3991,8 +3882,7 @@ os_makedev(PyModuleDef *module, PyObject *args)
int minor;
dev_t _return_value;
- if (!PyArg_ParseTuple(args,
- "ii:makedev",
+ if (!PyArg_ParseTuple(args, "ii:makedev",
&major, &minor))
goto exit;
_return_value = os_makedev_impl(module, major, minor);
@@ -4027,8 +3917,7 @@ os_ftruncate(PyModuleDef *module, PyObject *args)
int fd;
Py_off_t length;
- if (!PyArg_ParseTuple(args,
- "iO&:ftruncate",
+ if (!PyArg_ParseTuple(args, "iO&:ftruncate",
&fd, Py_off_t_converter, &length))
goto exit;
return_value = os_ftruncate_impl(module, fd, length);
@@ -4064,8 +3953,7 @@ os_truncate(PyModuleDef *module, PyObject *args, PyObject *kwargs)
path_t path = PATH_T_INITIALIZE("truncate", "path", 0, PATH_HAVE_FTRUNCATE);
Py_off_t length;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "O&O&:truncate", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O&O&:truncate", _keywords,
path_converter, &path, Py_off_t_converter, &length))
goto exit;
return_value = os_truncate_impl(module, &path, length);
@@ -4105,8 +3993,7 @@ os_posix_fallocate(PyModuleDef *module, PyObject *args)
Py_off_t offset;
Py_off_t length;
- if (!PyArg_ParseTuple(args,
- "iO&O&:posix_fallocate",
+ if (!PyArg_ParseTuple(args, "iO&O&:posix_fallocate",
&fd, Py_off_t_converter, &offset, Py_off_t_converter, &length))
goto exit;
return_value = os_posix_fallocate_impl(module, fd, offset, length);
@@ -4149,8 +4036,7 @@ os_posix_fadvise(PyModuleDef *module, PyObject *args)
Py_off_t length;
int advice;
- if (!PyArg_ParseTuple(args,
- "iO&O&i:posix_fadvise",
+ if (!PyArg_ParseTuple(args, "iO&O&i:posix_fadvise",
&fd, Py_off_t_converter, &offset, Py_off_t_converter, &length, &advice))
goto exit;
return_value = os_posix_fadvise_impl(module, fd, offset, length, advice);
@@ -4182,8 +4068,7 @@ os_putenv(PyModuleDef *module, PyObject *args)
PyObject *name;
PyObject *value;
- if (!PyArg_ParseTuple(args,
- "UU:putenv",
+ if (!PyArg_ParseTuple(args, "UU:putenv",
&name, &value))
goto exit;
return_value = os_putenv_impl(module, name, value);
@@ -4215,8 +4100,7 @@ os_putenv(PyModuleDef *module, PyObject *args)
PyObject *name = NULL;
PyObject *value = NULL;
- if (!PyArg_ParseTuple(args,
- "O&O&:putenv",
+ if (!PyArg_ParseTuple(args, "O&O&:putenv",
PyUnicode_FSConverter, &name, PyUnicode_FSConverter, &value))
goto exit;
return_value = os_putenv_impl(module, name, value);
@@ -4252,9 +4136,7 @@ os_unsetenv(PyModuleDef *module, PyObject *arg)
PyObject *return_value = NULL;
PyObject *name = NULL;
- if (!PyArg_Parse(arg,
- "O&:unsetenv",
- PyUnicode_FSConverter, &name))
+ if (!PyArg_Parse(arg, "O&:unsetenv", PyUnicode_FSConverter, &name))
goto exit;
return_value = os_unsetenv_impl(module, name);
@@ -4285,9 +4167,7 @@ os_strerror(PyModuleDef *module, PyObject *arg)
PyObject *return_value = NULL;
int code;
- if (!PyArg_Parse(arg,
- "i:strerror",
- &code))
+ if (!PyArg_Parse(arg, "i:strerror", &code))
goto exit;
return_value = os_strerror_impl(module, code);
@@ -4316,9 +4196,7 @@ os_WCOREDUMP(PyModuleDef *module, PyObject *arg)
int status;
int _return_value;
- if (!PyArg_Parse(arg,
- "i:WCOREDUMP",
- &status))
+ if (!PyArg_Parse(arg, "i:WCOREDUMP", &status))
goto exit;
_return_value = os_WCOREDUMP_impl(module, status);
if ((_return_value == -1) && PyErr_Occurred())
@@ -4356,8 +4234,7 @@ os_WIFCONTINUED(PyModuleDef *module, PyObject *args, PyObject *kwargs)
int status;
int _return_value;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "i:WIFCONTINUED", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "i:WIFCONTINUED", _keywords,
&status))
goto exit;
_return_value = os_WIFCONTINUED_impl(module, status);
@@ -4393,8 +4270,7 @@ os_WIFSTOPPED(PyModuleDef *module, PyObject *args, PyObject *kwargs)
int status;
int _return_value;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "i:WIFSTOPPED", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "i:WIFSTOPPED", _keywords,
&status))
goto exit;
_return_value = os_WIFSTOPPED_impl(module, status);
@@ -4430,8 +4306,7 @@ os_WIFSIGNALED(PyModuleDef *module, PyObject *args, PyObject *kwargs)
int status;
int _return_value;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "i:WIFSIGNALED", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "i:WIFSIGNALED", _keywords,
&status))
goto exit;
_return_value = os_WIFSIGNALED_impl(module, status);
@@ -4467,8 +4342,7 @@ os_WIFEXITED(PyModuleDef *module, PyObject *args, PyObject *kwargs)
int status;
int _return_value;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "i:WIFEXITED", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "i:WIFEXITED", _keywords,
&status))
goto exit;
_return_value = os_WIFEXITED_impl(module, status);
@@ -4504,8 +4378,7 @@ os_WEXITSTATUS(PyModuleDef *module, PyObject *args, PyObject *kwargs)
int status;
int _return_value;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "i:WEXITSTATUS", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "i:WEXITSTATUS", _keywords,
&status))
goto exit;
_return_value = os_WEXITSTATUS_impl(module, status);
@@ -4541,8 +4414,7 @@ os_WTERMSIG(PyModuleDef *module, PyObject *args, PyObject *kwargs)
int status;
int _return_value;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "i:WTERMSIG", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "i:WTERMSIG", _keywords,
&status))
goto exit;
_return_value = os_WTERMSIG_impl(module, status);
@@ -4578,8 +4450,7 @@ os_WSTOPSIG(PyModuleDef *module, PyObject *args, PyObject *kwargs)
int status;
int _return_value;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "i:WSTOPSIG", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "i:WSTOPSIG", _keywords,
&status))
goto exit;
_return_value = os_WSTOPSIG_impl(module, status);
@@ -4615,9 +4486,7 @@ os_fstatvfs(PyModuleDef *module, PyObject *arg)
PyObject *return_value = NULL;
int fd;
- if (!PyArg_Parse(arg,
- "i:fstatvfs",
- &fd))
+ if (!PyArg_Parse(arg, "i:fstatvfs", &fd))
goto exit;
return_value = os_fstatvfs_impl(module, fd);
@@ -4652,8 +4521,7 @@ os_statvfs(PyModuleDef *module, PyObject *args, PyObject *kwargs)
static char *_keywords[] = {"path", NULL};
path_t path = PATH_T_INITIALIZE("statvfs", "path", 0, PATH_HAVE_FSTATVFS);
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "O&:statvfs", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O&:statvfs", _keywords,
path_converter, &path))
goto exit;
return_value = os_statvfs_impl(module, &path);
@@ -4688,8 +4556,7 @@ os__getdiskusage(PyModuleDef *module, PyObject *args, PyObject *kwargs)
static char *_keywords[] = {"path", NULL};
Py_UNICODE *path;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "u:_getdiskusage", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "u:_getdiskusage", _keywords,
&path))
goto exit;
return_value = os__getdiskusage_impl(module, path);
@@ -4724,8 +4591,7 @@ os_fpathconf(PyModuleDef *module, PyObject *args)
int name;
long _return_value;
- if (!PyArg_ParseTuple(args,
- "iO&:fpathconf",
+ if (!PyArg_ParseTuple(args, "iO&:fpathconf",
&fd, conv_path_confname, &name))
goto exit;
_return_value = os_fpathconf_impl(module, fd, name);
@@ -4766,8 +4632,7 @@ os_pathconf(PyModuleDef *module, PyObject *args, PyObject *kwargs)
int name;
long _return_value;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "O&O&:pathconf", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O&O&:pathconf", _keywords,
path_converter, &path, conv_path_confname, &name))
goto exit;
_return_value = os_pathconf_impl(module, &path, name);
@@ -4804,9 +4669,7 @@ os_confstr(PyModuleDef *module, PyObject *arg)
PyObject *return_value = NULL;
int name;
- if (!PyArg_Parse(arg,
- "O&:confstr",
- conv_confstr_confname, &name))
+ if (!PyArg_Parse(arg, "O&:confstr", conv_confstr_confname, &name))
goto exit;
return_value = os_confstr_impl(module, name);
@@ -4837,9 +4700,7 @@ os_sysconf(PyModuleDef *module, PyObject *arg)
int name;
long _return_value;
- if (!PyArg_Parse(arg,
- "O&:sysconf",
- conv_sysconf_confname, &name))
+ if (!PyArg_Parse(arg, "O&:sysconf", conv_sysconf_confname, &name))
goto exit;
_return_value = os_sysconf_impl(module, name);
if ((_return_value == -1) && PyErr_Occurred())
@@ -4921,8 +4782,7 @@ os_device_encoding(PyModuleDef *module, PyObject *args, PyObject *kwargs)
static char *_keywords[] = {"fd", NULL};
int fd;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "i:device_encoding", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "i:device_encoding", _keywords,
&fd))
goto exit;
return_value = os_device_encoding_impl(module, fd);
@@ -4953,8 +4813,7 @@ os_setresuid(PyModuleDef *module, PyObject *args)
uid_t euid;
uid_t suid;
- if (!PyArg_ParseTuple(args,
- "O&O&O&:setresuid",
+ if (!PyArg_ParseTuple(args, "O&O&O&:setresuid",
_Py_Uid_Converter, &ruid, _Py_Uid_Converter, &euid, _Py_Uid_Converter, &suid))
goto exit;
return_value = os_setresuid_impl(module, ruid, euid, suid);
@@ -4987,8 +4846,7 @@ os_setresgid(PyModuleDef *module, PyObject *args)
gid_t egid;
gid_t sgid;
- if (!PyArg_ParseTuple(args,
- "O&O&O&:setresgid",
+ if (!PyArg_ParseTuple(args, "O&O&O&:setresgid",
_Py_Gid_Converter, &rgid, _Py_Gid_Converter, &egid, _Py_Gid_Converter, &sgid))
goto exit;
return_value = os_setresgid_impl(module, rgid, egid, sgid);
@@ -5072,8 +4930,7 @@ os_getxattr(PyModuleDef *module, PyObject *args, PyObject *kwargs)
path_t attribute = PATH_T_INITIALIZE("getxattr", "attribute", 0, 0);
int follow_symlinks = 1;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "O&O&|$p:getxattr", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O&O&|$p:getxattr", _keywords,
path_converter, &path, path_converter, &attribute, &follow_symlinks))
goto exit;
return_value = os_getxattr_impl(module, &path, &attribute, follow_symlinks);
@@ -5121,8 +4978,7 @@ os_setxattr(PyModuleDef *module, PyObject *args, PyObject *kwargs)
int flags = 0;
int follow_symlinks = 1;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "O&O&y*|i$p:setxattr", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O&O&y*|i$p:setxattr", _keywords,
path_converter, &path, path_converter, &attribute, &value, &flags, &follow_symlinks))
goto exit;
return_value = os_setxattr_impl(module, &path, &attribute, &value, flags, follow_symlinks);
@@ -5170,8 +5026,7 @@ os_removexattr(PyModuleDef *module, PyObject *args, PyObject *kwargs)
path_t attribute = PATH_T_INITIALIZE("removexattr", "attribute", 0, 0);
int follow_symlinks = 1;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "O&O&|$p:removexattr", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O&O&|$p:removexattr", _keywords,
path_converter, &path, path_converter, &attribute, &follow_symlinks))
goto exit;
return_value = os_removexattr_impl(module, &path, &attribute, follow_symlinks);
@@ -5215,8 +5070,7 @@ os_listxattr(PyModuleDef *module, PyObject *args, PyObject *kwargs)
path_t path = PATH_T_INITIALIZE("listxattr", "path", 1, 1);
int follow_symlinks = 1;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "|O&$p:listxattr", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|O&$p:listxattr", _keywords,
path_converter, &path, &follow_symlinks))
goto exit;
return_value = os_listxattr_impl(module, &path, follow_symlinks);
@@ -5248,9 +5102,7 @@ os_urandom(PyModuleDef *module, PyObject *arg)
PyObject *return_value = NULL;
Py_ssize_t size;
- if (!PyArg_Parse(arg,
- "n:urandom",
- &size))
+ if (!PyArg_Parse(arg, "n:urandom", &size))
goto exit;
return_value = os_urandom_impl(module, size);
@@ -5295,9 +5147,7 @@ os_get_inheritable(PyModuleDef *module, PyObject *arg)
int fd;
int _return_value;
- if (!PyArg_Parse(arg,
- "i:get_inheritable",
- &fd))
+ if (!PyArg_Parse(arg, "i:get_inheritable", &fd))
goto exit;
_return_value = os_get_inheritable_impl(module, fd);
if ((_return_value == -1) && PyErr_Occurred())
@@ -5327,8 +5177,7 @@ os_set_inheritable(PyModuleDef *module, PyObject *args)
int fd;
int inheritable;
- if (!PyArg_ParseTuple(args,
- "ii:set_inheritable",
+ if (!PyArg_ParseTuple(args, "ii:set_inheritable",
&fd, &inheritable))
goto exit;
return_value = os_set_inheritable_impl(module, fd, inheritable);
@@ -5358,9 +5207,7 @@ os_get_handle_inheritable(PyModuleDef *module, PyObject *arg)
Py_intptr_t handle;
int _return_value;
- if (!PyArg_Parse(arg,
- "" _Py_PARSE_INTPTR ":get_handle_inheritable",
- &handle))
+ if (!PyArg_Parse(arg, "" _Py_PARSE_INTPTR ":get_handle_inheritable", &handle))
goto exit;
_return_value = os_get_handle_inheritable_impl(module, handle);
if ((_return_value == -1) && PyErr_Occurred())
@@ -5395,8 +5242,7 @@ os_set_handle_inheritable(PyModuleDef *module, PyObject *args)
Py_intptr_t handle;
int inheritable;
- if (!PyArg_ParseTuple(args,
- "" _Py_PARSE_INTPTR "p:set_handle_inheritable",
+ if (!PyArg_ParseTuple(args, "" _Py_PARSE_INTPTR "p:set_handle_inheritable",
&handle, &inheritable))
goto exit;
return_value = os_set_handle_inheritable_impl(module, handle, inheritable);
@@ -5870,4 +5716,4 @@ exit:
#ifndef OS_SET_HANDLE_INHERITABLE_METHODDEF
#define OS_SET_HANDLE_INHERITABLE_METHODDEF
#endif /* !defined(OS_SET_HANDLE_INHERITABLE_METHODDEF) */
-/*[clinic end generated code: output=0e3fb3bb5df25fea input=a9049054013a1b77]*/
+/*[clinic end generated code: output=bba73c13a01c09a0 input=a9049054013a1b77]*/
diff --git a/Modules/clinic/pwdmodule.c.h b/Modules/clinic/pwdmodule.c.h
index ffe7c1c..9de2e4f 100644
--- a/Modules/clinic/pwdmodule.c.h
+++ b/Modules/clinic/pwdmodule.c.h
@@ -33,9 +33,7 @@ pwd_getpwnam(PyModuleDef *module, PyObject *arg_)
PyObject *return_value = NULL;
PyObject *arg;
- if (!PyArg_Parse(arg_,
- "U:getpwnam",
- &arg))
+ if (!PyArg_Parse(arg_, "U:getpwnam", &arg))
goto exit;
return_value = pwd_getpwnam_impl(module, arg);
@@ -70,4 +68,4 @@ pwd_getpwall(PyModuleDef *module, PyObject *Py_UNUSED(ignored))
#ifndef PWD_GETPWALL_METHODDEF
#define PWD_GETPWALL_METHODDEF
#endif /* !defined(PWD_GETPWALL_METHODDEF) */
-/*[clinic end generated code: output=e7d5ac24b20e91ae input=a9049054013a1b77]*/
+/*[clinic end generated code: output=2ed0ecf34fd3f98f input=a9049054013a1b77]*/
diff --git a/Modules/clinic/pyexpat.c.h b/Modules/clinic/pyexpat.c.h
index ba5c380..72861be 100644
--- a/Modules/clinic/pyexpat.c.h
+++ b/Modules/clinic/pyexpat.c.h
@@ -24,8 +24,7 @@ pyexpat_xmlparser_Parse(xmlparseobject *self, PyObject *args)
PyObject *data;
int isFinal = 0;
- if (!PyArg_ParseTuple(args,
- "O|i:Parse",
+ if (!PyArg_ParseTuple(args, "O|i:Parse",
&data, &isFinal))
goto exit;
return_value = pyexpat_xmlparser_Parse_impl(self, data, isFinal);
@@ -61,9 +60,7 @@ pyexpat_xmlparser_SetBase(xmlparseobject *self, PyObject *arg)
PyObject *return_value = NULL;
const char *base;
- if (!PyArg_Parse(arg,
- "s:SetBase",
- &base))
+ if (!PyArg_Parse(arg, "s:SetBase", &base))
goto exit;
return_value = pyexpat_xmlparser_SetBase_impl(self, base);
@@ -131,8 +128,7 @@ pyexpat_xmlparser_ExternalEntityParserCreate(xmlparseobject *self, PyObject *arg
const char *context;
const char *encoding = NULL;
- if (!PyArg_ParseTuple(args,
- "z|s:ExternalEntityParserCreate",
+ if (!PyArg_ParseTuple(args, "z|s:ExternalEntityParserCreate",
&context, &encoding))
goto exit;
return_value = pyexpat_xmlparser_ExternalEntityParserCreate_impl(self, context, encoding);
@@ -164,9 +160,7 @@ pyexpat_xmlparser_SetParamEntityParsing(xmlparseobject *self, PyObject *arg)
PyObject *return_value = NULL;
int flag;
- if (!PyArg_Parse(arg,
- "i:SetParamEntityParsing",
- &flag))
+ if (!PyArg_Parse(arg, "i:SetParamEntityParsing", &flag))
goto exit;
return_value = pyexpat_xmlparser_SetParamEntityParsing_impl(self, flag);
@@ -198,8 +192,7 @@ pyexpat_xmlparser_UseForeignDTD(xmlparseobject *self, PyObject *args)
PyObject *return_value = NULL;
int flag = 1;
- if (!PyArg_ParseTuple(args,
- "|p:UseForeignDTD",
+ if (!PyArg_ParseTuple(args, "|p:UseForeignDTD",
&flag))
goto exit;
return_value = pyexpat_xmlparser_UseForeignDTD_impl(self, flag);
@@ -250,8 +243,7 @@ pyexpat_ParserCreate(PyModuleDef *module, PyObject *args, PyObject *kwargs)
const char *namespace_separator = NULL;
PyObject *intern = NULL;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "|zzO:ParserCreate", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|zzO:ParserCreate", _keywords,
&encoding, &namespace_separator, &intern))
goto exit;
return_value = pyexpat_ParserCreate_impl(module, encoding, namespace_separator, intern);
@@ -278,9 +270,7 @@ pyexpat_ErrorString(PyModuleDef *module, PyObject *arg)
PyObject *return_value = NULL;
long code;
- if (!PyArg_Parse(arg,
- "l:ErrorString",
- &code))
+ if (!PyArg_Parse(arg, "l:ErrorString", &code))
goto exit;
return_value = pyexpat_ErrorString_impl(module, code);
@@ -291,4 +281,4 @@ exit:
#ifndef PYEXPAT_XMLPARSER_USEFOREIGNDTD_METHODDEF
#define PYEXPAT_XMLPARSER_USEFOREIGNDTD_METHODDEF
#endif /* !defined(PYEXPAT_XMLPARSER_USEFOREIGNDTD_METHODDEF) */
-/*[clinic end generated code: output=abdf05a21dae98c7 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=958c0faa1b855fc7 input=a9049054013a1b77]*/
diff --git a/Modules/clinic/sha1module.c.h b/Modules/clinic/sha1module.c.h
index 1b50633..fa865ba 100644
--- a/Modules/clinic/sha1module.c.h
+++ b/Modules/clinic/sha1module.c.h
@@ -84,8 +84,7 @@ _sha1_sha1(PyModuleDef *module, PyObject *args, PyObject *kwargs)
static char *_keywords[] = {"string", NULL};
PyObject *string = NULL;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "|O:sha1", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|O:sha1", _keywords,
&string))
goto exit;
return_value = _sha1_sha1_impl(module, string);
@@ -93,4 +92,4 @@ _sha1_sha1(PyModuleDef *module, PyObject *args, PyObject *kwargs)
exit:
return return_value;
}
-/*[clinic end generated code: output=b2890b9ca964b217 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=be19102f3120490a input=a9049054013a1b77]*/
diff --git a/Modules/clinic/sha256module.c.h b/Modules/clinic/sha256module.c.h
index cd7c3e3..c5fe188 100644
--- a/Modules/clinic/sha256module.c.h
+++ b/Modules/clinic/sha256module.c.h
@@ -84,8 +84,7 @@ _sha256_sha256(PyModuleDef *module, PyObject *args, PyObject *kwargs)
static char *_keywords[] = {"string", NULL};
PyObject *string = NULL;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "|O:sha256", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|O:sha256", _keywords,
&string))
goto exit;
return_value = _sha256_sha256_impl(module, string);
@@ -113,8 +112,7 @@ _sha256_sha224(PyModuleDef *module, PyObject *args, PyObject *kwargs)
static char *_keywords[] = {"string", NULL};
PyObject *string = NULL;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "|O:sha224", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|O:sha224", _keywords,
&string))
goto exit;
return_value = _sha256_sha224_impl(module, string);
@@ -122,4 +120,4 @@ _sha256_sha224(PyModuleDef *module, PyObject *args, PyObject *kwargs)
exit:
return return_value;
}
-/*[clinic end generated code: output=8a0520371b097358 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=354cedf3b632c7b2 input=a9049054013a1b77]*/
diff --git a/Modules/clinic/sha512module.c.h b/Modules/clinic/sha512module.c.h
index 7991eff..c308739 100644
--- a/Modules/clinic/sha512module.c.h
+++ b/Modules/clinic/sha512module.c.h
@@ -102,8 +102,7 @@ _sha512_sha512(PyModuleDef *module, PyObject *args, PyObject *kwargs)
static char *_keywords[] = {"string", NULL};
PyObject *string = NULL;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "|O:sha512", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|O:sha512", _keywords,
&string))
goto exit;
return_value = _sha512_sha512_impl(module, string);
@@ -135,8 +134,7 @@ _sha512_sha384(PyModuleDef *module, PyObject *args, PyObject *kwargs)
static char *_keywords[] = {"string", NULL};
PyObject *string = NULL;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "|O:sha384", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|O:sha384", _keywords,
&string))
goto exit;
return_value = _sha512_sha384_impl(module, string);
@@ -170,4 +168,4 @@ exit:
#ifndef _SHA512_SHA384_METHODDEF
#define _SHA512_SHA384_METHODDEF
#endif /* !defined(_SHA512_SHA384_METHODDEF) */
-/*[clinic end generated code: output=de7bda19fde49310 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=1c7d385731fee7c0 input=a9049054013a1b77]*/
diff --git a/Modules/clinic/spwdmodule.c.h b/Modules/clinic/spwdmodule.c.h
index e1dde77..c0d18db 100644
--- a/Modules/clinic/spwdmodule.c.h
+++ b/Modules/clinic/spwdmodule.c.h
@@ -24,9 +24,7 @@ spwd_getspnam(PyModuleDef *module, PyObject *arg_)
PyObject *return_value = NULL;
PyObject *arg;
- if (!PyArg_Parse(arg_,
- "U:getspnam",
- &arg))
+ if (!PyArg_Parse(arg_, "U:getspnam", &arg))
goto exit;
return_value = spwd_getspnam_impl(module, arg);
@@ -67,4 +65,4 @@ spwd_getspall(PyModuleDef *module, PyObject *Py_UNUSED(ignored))
#ifndef SPWD_GETSPALL_METHODDEF
#define SPWD_GETSPALL_METHODDEF
#endif /* !defined(SPWD_GETSPALL_METHODDEF) */
-/*[clinic end generated code: output=67a4f8c47008f28f input=a9049054013a1b77]*/
+/*[clinic end generated code: output=6c178830413f7763 input=a9049054013a1b77]*/
diff --git a/Modules/clinic/unicodedata.c.h b/Modules/clinic/unicodedata.c.h
index 13e6bf9..d520c1e 100644
--- a/Modules/clinic/unicodedata.c.h
+++ b/Modules/clinic/unicodedata.c.h
@@ -26,8 +26,7 @@ unicodedata_UCD_decimal(PyObject *self, PyObject *args)
int chr;
PyObject *default_value = NULL;
- if (!PyArg_ParseTuple(args,
- "C|O:decimal",
+ if (!PyArg_ParseTuple(args, "C|O:decimal",
&chr, &default_value))
goto exit;
return_value = unicodedata_UCD_decimal_impl(self, chr, default_value);
@@ -59,8 +58,7 @@ unicodedata_UCD_digit(PyObject *self, PyObject *args)
int chr;
PyObject *default_value = NULL;
- if (!PyArg_ParseTuple(args,
- "C|O:digit",
+ if (!PyArg_ParseTuple(args, "C|O:digit",
&chr, &default_value))
goto exit;
return_value = unicodedata_UCD_digit_impl(self, chr, default_value);
@@ -93,8 +91,7 @@ unicodedata_UCD_numeric(PyObject *self, PyObject *args)
int chr;
PyObject *default_value = NULL;
- if (!PyArg_ParseTuple(args,
- "C|O:numeric",
+ if (!PyArg_ParseTuple(args, "C|O:numeric",
&chr, &default_value))
goto exit;
return_value = unicodedata_UCD_numeric_impl(self, chr, default_value);
@@ -121,9 +118,7 @@ unicodedata_UCD_category(PyObject *self, PyObject *arg)
PyObject *return_value = NULL;
int chr;
- if (!PyArg_Parse(arg,
- "C:category",
- &chr))
+ if (!PyArg_Parse(arg, "C:category", &chr))
goto exit;
return_value = unicodedata_UCD_category_impl(self, chr);
@@ -151,9 +146,7 @@ unicodedata_UCD_bidirectional(PyObject *self, PyObject *arg)
PyObject *return_value = NULL;
int chr;
- if (!PyArg_Parse(arg,
- "C:bidirectional",
- &chr))
+ if (!PyArg_Parse(arg, "C:bidirectional", &chr))
goto exit;
return_value = unicodedata_UCD_bidirectional_impl(self, chr);
@@ -182,9 +175,7 @@ unicodedata_UCD_combining(PyObject *self, PyObject *arg)
int chr;
int _return_value;
- if (!PyArg_Parse(arg,
- "C:combining",
- &chr))
+ if (!PyArg_Parse(arg, "C:combining", &chr))
goto exit;
_return_value = unicodedata_UCD_combining_impl(self, chr);
if ((_return_value == -1) && PyErr_Occurred())
@@ -217,9 +208,7 @@ unicodedata_UCD_mirrored(PyObject *self, PyObject *arg)
int chr;
int _return_value;
- if (!PyArg_Parse(arg,
- "C:mirrored",
- &chr))
+ if (!PyArg_Parse(arg, "C:mirrored", &chr))
goto exit;
_return_value = unicodedata_UCD_mirrored_impl(self, chr);
if ((_return_value == -1) && PyErr_Occurred())
@@ -248,9 +237,7 @@ unicodedata_UCD_east_asian_width(PyObject *self, PyObject *arg)
PyObject *return_value = NULL;
int chr;
- if (!PyArg_Parse(arg,
- "C:east_asian_width",
- &chr))
+ if (!PyArg_Parse(arg, "C:east_asian_width", &chr))
goto exit;
return_value = unicodedata_UCD_east_asian_width_impl(self, chr);
@@ -278,9 +265,7 @@ unicodedata_UCD_decomposition(PyObject *self, PyObject *arg)
PyObject *return_value = NULL;
int chr;
- if (!PyArg_Parse(arg,
- "C:decomposition",
- &chr))
+ if (!PyArg_Parse(arg, "C:decomposition", &chr))
goto exit;
return_value = unicodedata_UCD_decomposition_impl(self, chr);
@@ -310,8 +295,7 @@ unicodedata_UCD_normalize(PyObject *self, PyObject *args)
const char *form;
PyObject *input;
- if (!PyArg_ParseTuple(args,
- "sO!:normalize",
+ if (!PyArg_ParseTuple(args, "sO!:normalize",
&form, &PyUnicode_Type, &input))
goto exit;
return_value = unicodedata_UCD_normalize_impl(self, form, input);
@@ -342,8 +326,7 @@ unicodedata_UCD_name(PyObject *self, PyObject *args)
int chr;
PyObject *default_value = NULL;
- if (!PyArg_ParseTuple(args,
- "C|O:name",
+ if (!PyArg_ParseTuple(args, "C|O:name",
&chr, &default_value))
goto exit;
return_value = unicodedata_UCD_name_impl(self, chr, default_value);
@@ -375,13 +358,11 @@ unicodedata_UCD_lookup(PyObject *self, PyObject *arg)
const char *name;
Py_ssize_clean_t name_length;
- if (!PyArg_Parse(arg,
- "s#:lookup",
- &name, &name_length))
+ if (!PyArg_Parse(arg, "s#:lookup", &name, &name_length))
goto exit;
return_value = unicodedata_UCD_lookup_impl(self, name, name_length);
exit:
return return_value;
}
-/*[clinic end generated code: output=1f04e31ae703ffed input=a9049054013a1b77]*/
+/*[clinic end generated code: output=4f8da33c6bc6efc9 input=a9049054013a1b77]*/
diff --git a/Modules/clinic/zlibmodule.c.h b/Modules/clinic/zlibmodule.c.h
index 61bcdc4..35661a5 100644
--- a/Modules/clinic/zlibmodule.c.h
+++ b/Modules/clinic/zlibmodule.c.h
@@ -26,8 +26,7 @@ zlib_compress(PyModuleDef *module, PyObject *args)
Py_buffer bytes = {NULL, NULL};
int level = Z_DEFAULT_COMPRESSION;
- if (!PyArg_ParseTuple(args,
- "y*|i:compress",
+ if (!PyArg_ParseTuple(args, "y*|i:compress",
&bytes, &level))
goto exit;
return_value = zlib_compress_impl(module, &bytes, level);
@@ -68,8 +67,7 @@ zlib_decompress(PyModuleDef *module, PyObject *args)
int wbits = MAX_WBITS;
unsigned int bufsize = DEF_BUF_SIZE;
- if (!PyArg_ParseTuple(args,
- "y*|iO&:decompress",
+ if (!PyArg_ParseTuple(args, "y*|iO&:decompress",
&data, &wbits, uint_converter, &bufsize))
goto exit;
return_value = zlib_decompress_impl(module, &data, wbits, bufsize);
@@ -127,8 +125,7 @@ zlib_compressobj(PyModuleDef *module, PyObject *args, PyObject *kwargs)
int strategy = Z_DEFAULT_STRATEGY;
Py_buffer zdict = {NULL, NULL};
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "|iiiiiy*:compressobj", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|iiiiiy*:compressobj", _keywords,
&level, &method, &wbits, &memLevel, &strategy, &zdict))
goto exit;
return_value = zlib_compressobj_impl(module, level, method, wbits, memLevel, strategy, &zdict);
@@ -167,8 +164,7 @@ zlib_decompressobj(PyModuleDef *module, PyObject *args, PyObject *kwargs)
int wbits = MAX_WBITS;
PyObject *zdict = NULL;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "|iO:decompressobj", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|iO:decompressobj", _keywords,
&wbits, &zdict))
goto exit;
return_value = zlib_decompressobj_impl(module, wbits, zdict);
@@ -202,9 +198,7 @@ zlib_Compress_compress(compobject *self, PyObject *arg)
PyObject *return_value = NULL;
Py_buffer data = {NULL, NULL};
- if (!PyArg_Parse(arg,
- "y*:compress",
- &data))
+ if (!PyArg_Parse(arg, "y*:compress", &data))
goto exit;
return_value = zlib_Compress_compress_impl(self, &data);
@@ -247,8 +241,7 @@ zlib_Decompress_decompress(compobject *self, PyObject *args)
Py_buffer data = {NULL, NULL};
unsigned int max_length = 0;
- if (!PyArg_ParseTuple(args,
- "y*|O&:decompress",
+ if (!PyArg_ParseTuple(args, "y*|O&:decompress",
&data, uint_converter, &max_length))
goto exit;
return_value = zlib_Decompress_decompress_impl(self, &data, max_length);
@@ -285,8 +278,7 @@ zlib_Compress_flush(compobject *self, PyObject *args)
PyObject *return_value = NULL;
int mode = Z_FINISH;
- if (!PyArg_ParseTuple(args,
- "|i:flush",
+ if (!PyArg_ParseTuple(args, "|i:flush",
&mode))
goto exit;
return_value = zlib_Compress_flush_impl(self, mode);
@@ -360,8 +352,7 @@ zlib_Decompress_flush(compobject *self, PyObject *args)
PyObject *return_value = NULL;
unsigned int length = DEF_BUF_SIZE;
- if (!PyArg_ParseTuple(args,
- "|O&:flush",
+ if (!PyArg_ParseTuple(args, "|O&:flush",
uint_converter, &length))
goto exit;
return_value = zlib_Decompress_flush_impl(self, length);
@@ -394,8 +385,7 @@ zlib_adler32(PyModuleDef *module, PyObject *args)
Py_buffer data = {NULL, NULL};
unsigned int value = 1;
- if (!PyArg_ParseTuple(args,
- "y*|I:adler32",
+ if (!PyArg_ParseTuple(args, "y*|I:adler32",
&data, &value))
goto exit;
return_value = zlib_adler32_impl(module, &data, value);
@@ -432,8 +422,7 @@ zlib_crc32(PyModuleDef *module, PyObject *args)
Py_buffer data = {NULL, NULL};
unsigned int value = 0;
- if (!PyArg_ParseTuple(args,
- "y*|I:crc32",
+ if (!PyArg_ParseTuple(args, "y*|I:crc32",
&data, &value))
goto exit;
return_value = zlib_crc32_impl(module, &data, value);
@@ -449,4 +438,4 @@ exit:
#ifndef ZLIB_COMPRESS_COPY_METHODDEF
#define ZLIB_COMPRESS_COPY_METHODDEF
#endif /* !defined(ZLIB_COMPRESS_COPY_METHODDEF) */
-/*[clinic end generated code: output=6cdeb624bebfe11f input=a9049054013a1b77]*/
+/*[clinic end generated code: output=56ed1147bbbb4788 input=a9049054013a1b77]*/