diff -r 4aab4e0cd759 Modules/_io/clinic/_iomodule.c.h --- a/Modules/_io/clinic/_iomodule.c.h Sun Apr 19 21:13:00 2015 +0300 +++ b/Modules/_io/clinic/_iomodule.c.h Sun Apr 19 21:30:15 2015 +0300 @@ -148,8 +148,7 @@ static PyObject * 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 @@ static PyObject * exit: return return_value; } -/*[clinic end generated code: output=c51a5a443c11f02b input=a9049054013a1b77]*/ +/*[clinic end generated code: output=97cdc09bf68a8064 input=a9049054013a1b77]*/ diff -r 4aab4e0cd759 Modules/_io/clinic/bufferedio.c.h --- a/Modules/_io/clinic/bufferedio.c.h Sun Apr 19 21:13:00 2015 +0300 +++ b/Modules/_io/clinic/bufferedio.c.h Sun Apr 19 21:30:15 2015 +0300 @@ -19,9 +19,7 @@ static PyObject * 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 @@ static PyObject * 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 @@ static PyObject * 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 @@ static PyObject * 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 @@ static PyObject * 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 @@ static PyObject * 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 @@ static PyObject * 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 @@ static PyObject * 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 @@ static PyObject * 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 @@ static int 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 @@ static int 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 @@ static PyObject * 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 @@ static int 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 @@ static int 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 @@ static int exit: return return_value; } -/*[clinic end generated code: output=78808e39f36e3fa9 input=a9049054013a1b77]*/ +/*[clinic end generated code: output=2bbb5e239b4ffe6f input=a9049054013a1b77]*/ diff -r 4aab4e0cd759 Modules/_io/clinic/bytesio.c.h --- a/Modules/_io/clinic/bytesio.c.h Sun Apr 19 21:13:00 2015 +0300 +++ b/Modules/_io/clinic/bytesio.c.h Sun Apr 19 21:30:15 2015 +0300 @@ -276,9 +276,7 @@ static PyObject * 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 @@ static PyObject * 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 @@ static int 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 @@ static int exit: return return_value; } -/*[clinic end generated code: output=e22697ada514f4eb input=a9049054013a1b77]*/ +/*[clinic end generated code: output=500ccc149587fac4 input=a9049054013a1b77]*/ diff -r 4aab4e0cd759 Modules/_io/clinic/fileio.c.h --- a/Modules/_io/clinic/fileio.c.h Sun Apr 19 21:13:00 2015 +0300 +++ b/Modules/_io/clinic/fileio.c.h Sun Apr 19 21:30:15 2015 +0300 @@ -55,8 +55,7 @@ static int 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 @@ static PyObject * 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 @@ static PyObject * 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 @@ static PyObject * 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 @@ static PyObject * 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 @@ static PyObject * #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 -r 4aab4e0cd759 Modules/_io/clinic/iobase.c.h --- a/Modules/_io/clinic/iobase.c.h Sun Apr 19 21:13:00 2015 +0300 +++ b/Modules/_io/clinic/iobase.c.h Sun Apr 19 21:30:15 2015 +0300 @@ -185,8 +185,7 @@ static PyObject * 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 @@ static PyObject * 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 @@ static PyObject * 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 @@ static PyObject * { return _io__RawIOBase_readall_impl(self); } -/*[clinic end generated code: output=84eef4b7541f54b7 input=a9049054013a1b77]*/ +/*[clinic end generated code: output=fe034152b6884e65 input=a9049054013a1b77]*/ diff -r 4aab4e0cd759 Modules/_io/clinic/stringio.c.h --- a/Modules/_io/clinic/stringio.c.h Sun Apr 19 21:13:00 2015 +0300 +++ b/Modules/_io/clinic/stringio.c.h Sun Apr 19 21:30:15 2015 +0300 @@ -156,8 +156,7 @@ static PyObject * 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 @@ static int 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 @@ static PyObject * { return _io_StringIO_seekable_impl(self); } -/*[clinic end generated code: output=f3062096d357c652 input=a9049054013a1b77]*/ +/*[clinic end generated code: output=f061cf3a20cd14ed input=a9049054013a1b77]*/ diff -r 4aab4e0cd759 Modules/_io/clinic/textio.c.h --- a/Modules/_io/clinic/textio.c.h Sun Apr 19 21:13:00 2015 +0300 +++ b/Modules/_io/clinic/textio.c.h Sun Apr 19 21:30:15 2015 +0300 @@ -29,8 +29,7 @@ static int 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 @@ static PyObject * 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 @@ static int 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 @@ static PyObject * 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 @@ static PyObject * 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 @@ static PyObject * 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 @@ static PyObject * 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 @@ static PyObject * { return _io_TextIOWrapper_close_impl(self); } -/*[clinic end generated code: output=a610bd3b694886c3 input=a9049054013a1b77]*/ +/*[clinic end generated code: output=690608f85aab8ba5 input=a9049054013a1b77]*/ diff -r 4aab4e0cd759 Modules/cjkcodecs/clinic/multibytecodec.c.h --- a/Modules/cjkcodecs/clinic/multibytecodec.c.h Sun Apr 19 21:13:00 2015 +0300 +++ b/Modules/cjkcodecs/clinic/multibytecodec.c.h Sun Apr 19 21:30:15 2015 +0300 @@ -29,8 +29,7 @@ static PyObject * 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 @@ static PyObject * 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 @@ static PyObject * 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 @@ static PyObject * 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_co #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 -r 4aab4e0cd759 Modules/clinic/_bz2module.c.h --- a/Modules/clinic/_bz2module.c.h Sun Apr 19 21:13:00 2015 +0300 +++ b/Modules/clinic/_bz2module.c.h Sun Apr 19 21:30:15 2015 +0300 @@ -25,9 +25,7 @@ static PyObject * 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 @@ static int 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 @@ static 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 @@ static int exit: return return_value; } -/*[clinic end generated code: output=e8a48a949969c355 input=a9049054013a1b77]*/ +/*[clinic end generated code: output=fef29b76b3314fc7 input=a9049054013a1b77]*/ diff -r 4aab4e0cd759 Modules/clinic/_codecsmodule.c.h --- a/Modules/clinic/_codecsmodule.c.h Sun Apr 19 21:13:00 2015 +0300 +++ b/Modules/clinic/_codecsmodule.c.h Sun Apr 19 21:30:15 2015 +0300 @@ -20,13 +20,11 @@ static PyObject * 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 -r 4aab4e0cd759 Modules/clinic/_cryptmodule.c.h --- a/Modules/clinic/_cryptmodule.c.h Sun Apr 19 21:13:00 2015 +0300 +++ b/Modules/clinic/_cryptmodule.c.h Sun Apr 19 21:30:15 2015 +0300 @@ -26,8 +26,7 @@ crypt_crypt(PyModuleDef *module, PyObjec 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, PyObjec exit: return return_value; } -/*[clinic end generated code: output=b5b8d977189d19ea input=a9049054013a1b77]*/ +/*[clinic end generated code: output=22c295c9bce018c4 input=a9049054013a1b77]*/ diff -r 4aab4e0cd759 Modules/clinic/_datetimemodule.c.h --- a/Modules/clinic/_datetimemodule.c.h Sun Apr 19 21:13:00 2015 +0300 +++ b/Modules/clinic/_datetimemodule.c.h Sun Apr 19 21:30:15 2015 +0300 @@ -26,8 +26,7 @@ datetime_datetime_now(PyTypeObject *type 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 exit: return return_value; } -/*[clinic end generated code: output=a5c51b96f10c462c input=a9049054013a1b77]*/ +/*[clinic end generated code: output=7f45c670d6e4953a input=a9049054013a1b77]*/ diff -r 4aab4e0cd759 Modules/clinic/_dbmmodule.c.h --- a/Modules/clinic/_dbmmodule.c.h Sun Apr 19 21:13:00 2015 +0300 +++ b/Modules/clinic/_dbmmodule.c.h Sun Apr 19 21:30:15 2015 +0300 @@ -59,8 +59,7 @@ static PyObject * 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 @@ static PyObject * 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 *a 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 *a exit: return return_value; } -/*[clinic end generated code: output=951fcfdb6d667a61 input=a9049054013a1b77]*/ +/*[clinic end generated code: output=1d92e81b28c558d0 input=a9049054013a1b77]*/ diff -r 4aab4e0cd759 Modules/clinic/_gdbmmodule.c.h --- a/Modules/clinic/_gdbmmodule.c.h Sun Apr 19 21:13:00 2015 +0300 +++ b/Modules/clinic/_gdbmmodule.c.h Sun Apr 19 21:30:15 2015 +0300 @@ -147,9 +147,7 @@ static PyObject * 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 *a 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 *a exit: return return_value; } -/*[clinic end generated code: output=b41c68a5f30699cb input=a9049054013a1b77]*/ +/*[clinic end generated code: output=d3d8d871bcccb68a input=a9049054013a1b77]*/ diff -r 4aab4e0cd759 Modules/clinic/_lzmamodule.c.h --- a/Modules/clinic/_lzmamodule.c.h Sun Apr 19 21:13:00 2015 +0300 +++ b/Modules/clinic/_lzmamodule.c.h Sun Apr 19 21:30:15 2015 +0300 @@ -25,9 +25,7 @@ static PyObject * 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 @@ static 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 @@ static int 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 @@ static PyObject * 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 @@ static PyObject * 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 @@ static PyObject * 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 -r 4aab4e0cd759 Modules/clinic/_opcode.c.h --- a/Modules/clinic/_opcode.c.h Sun Apr 19 21:13:00 2015 +0300 +++ b/Modules/clinic/_opcode.c.h Sun Apr 19 21:30:15 2015 +0300 @@ -22,8 +22,7 @@ static PyObject * 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 @@ static PyObject * exit: return return_value; } -/*[clinic end generated code: output=dbe45148bc21ecdf input=a9049054013a1b77]*/ +/*[clinic end generated code: output=8ee7cb735705e8b3 input=a9049054013a1b77]*/ diff -r 4aab4e0cd759 Modules/clinic/_pickle.c.h --- a/Modules/clinic/_pickle.c.h Sun Apr 19 21:13:00 2015 +0300 +++ b/Modules/clinic/_pickle.c.h Sun Apr 19 21:30:15 2015 +0300 @@ -97,8 +97,7 @@ static int 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 @@ static int 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 @@ static PyObject * 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 @@ static PyObject * 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 @@ static PyObject * 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 @@ static PyObject * 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 @@ static PyObject * exit: return return_value; } -/*[clinic end generated code: output=2c413ecc2ec74f7c input=a9049054013a1b77]*/ +/*[clinic end generated code: output=06f3a5233298448e input=a9049054013a1b77]*/ diff -r 4aab4e0cd759 Modules/clinic/arraymodule.c.h --- a/Modules/clinic/arraymodule.c.h Sun Apr 19 21:13:00 2015 +0300 +++ b/Modules/clinic/arraymodule.c.h Sun Apr 19 21:30:15 2015 +0300 @@ -76,8 +76,7 @@ array_array_pop(arrayobject *self, PyObj 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, Py 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 *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 *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 *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 *sel 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 * 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___setst #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 -r 4aab4e0cd759 Modules/clinic/audioop.c.h --- a/Modules/clinic/audioop.c.h Sun Apr 19 21:13:00 2015 +0300 +++ b/Modules/clinic/audioop.c.h Sun Apr 19 21:30:15 2015 +0300 @@ -23,8 +23,7 @@ audioop_getsample(PyModuleDef *module, P 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, PyObjec 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, PyOb 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, PyObjec 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, PyObjec 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, PyO 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, 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, PyO 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, PyObj 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, PyObj 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, PyObj 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, PyObjec 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, PyOb 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, Py 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, PyObjec 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, PyObje 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, PyO 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, Py 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, PyO 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, PyOb 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, Py 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, Py 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, Py 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, Py 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, P 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, P 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 -r 4aab4e0cd759 Modules/clinic/binascii.c.h --- a/Modules/clinic/binascii.c.h Sun Apr 19 21:13:00 2015 +0300 +++ b/Modules/clinic/binascii.c.h Sun Apr 19 21:30:15 2015 +0300 @@ -20,9 +20,7 @@ binascii_a2b_uu(PyModuleDef *module, PyO 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, PyO 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 *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 *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, Py 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 *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, Py 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 *modu 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, Py int crc; 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, PyOb 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, Py 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, Py 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, Py 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 *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, PyO 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, PyO 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, "etabs, &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=175025a8a94fbdd1 input=a9049054013a1b77]*/ +/*[clinic end generated code: output=51287865e085f250 input=a9049054013a1b77]*/ diff -r 4aab4e0cd759 Modules/clinic/cmathmodule.c.h --- a/Modules/clinic/cmathmodule.c.h Sun Apr 19 21:13:00 2015 +0300 +++ b/Modules/clinic/cmathmodule.c.h Sun Apr 19 21:30:15 2015 +0300 @@ -21,9 +21,7 @@ cmath_acos(PyModuleDef *module, PyObject 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, PyObjec 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 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, PyObjec 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 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, PyObjec 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 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 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 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, PyObjec 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 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 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 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 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 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 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, PyObjec 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, PyObjec 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 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, PyOb 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, PyObjec 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, PyObjec 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 -r 4aab4e0cd759 Modules/clinic/fcntlmodule.c.h --- a/Modules/clinic/fcntlmodule.c.h Sun Apr 19 21:13:00 2015 +0300 +++ b/Modules/clinic/fcntlmodule.c.h Sun Apr 19 21:30:15 2015 +0300 @@ -32,8 +32,7 @@ fcntl_fcntl(PyModuleDef *module, PyObjec 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, PyObjec 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, PyObjec 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, PyObjec 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, PyObjec exit: return return_value; } -/*[clinic end generated code: output=badaa968eb04410d input=a9049054013a1b77]*/ +/*[clinic end generated code: output=92963b631d00f0fe input=a9049054013a1b77]*/ diff -r 4aab4e0cd759 Modules/clinic/grpmodule.c.h --- a/Modules/clinic/grpmodule.c.h Sun Apr 19 21:13:00 2015 +0300 +++ b/Modules/clinic/grpmodule.c.h Sun Apr 19 21:30:15 2015 +0300 @@ -23,8 +23,7 @@ grp_getgrgid(PyModuleDef *module, PyObje 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, PyObje 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, PyObje { return grp_getgrall_impl(module); } -/*[clinic end generated code: output=4709a6ba40bb8df9 input=a9049054013a1b77]*/ +/*[clinic end generated code: output=5191c25600afb1bd input=a9049054013a1b77]*/ diff -r 4aab4e0cd759 Modules/clinic/md5module.c.h --- a/Modules/clinic/md5module.c.h Sun Apr 19 21:13:00 2015 +0300 +++ b/Modules/clinic/md5module.c.h Sun Apr 19 21:30:15 2015 +0300 @@ -84,8 +84,7 @@ static PyObject * 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 @@ static PyObject * exit: return return_value; } -/*[clinic end generated code: output=f72618edfd35d984 input=a9049054013a1b77]*/ +/*[clinic end generated code: output=0f803ded701aca54 input=a9049054013a1b77]*/ diff -r 4aab4e0cd759 Modules/clinic/posixmodule.c.h --- a/Modules/clinic/posixmodule.c.h Sun Apr 19 21:13:00 2015 +0300 +++ b/Modules/clinic/posixmodule.c.h Sun Apr 19 21:30:15 2015 +0300 @@ -42,8 +42,7 @@ os_stat(PyModuleDef *module, PyObject *a 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 * 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 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 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 * 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 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 * 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 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 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 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, PyObjec 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 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 * 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, PyObje 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 * 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 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 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 *a 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 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 *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 *modul 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 * 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 *a 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, PyOb 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, PyOb 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 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 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 * 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 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 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 * 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 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 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 * 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, ×, &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 * 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 * 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 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 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 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 *m 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 *m 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 *modul 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, PyObj 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 *modul 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, ¶m)) goto exit; return_value = os_sched_setscheduler_impl(module, pid, policy, ¶m); @@ -1957,9 +1908,7 @@ os_sched_getparam(PyModuleDef *module, P 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, P 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, ¶m)) goto exit; return_value = os_sched_setparam_impl(module, pid, ¶m); @@ -2029,9 +1977,7 @@ os_sched_rr_get_interval(PyModuleDef *mo 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 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 *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 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 *a 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 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 * 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 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 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 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, PyObjec 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, PyObjec 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 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 * 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 * 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 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 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 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 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 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 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, PyObje 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, PyObje 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 *a 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 * 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, PyObj 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 *ar 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 *a 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 * 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 * 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 *a 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 * 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 * 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 * 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 * 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 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 * 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 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 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 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 * 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 * 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 * 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 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, PyObje 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, PyObjec 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, 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, Py 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 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 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, PyObjec 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, PyObjec 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, PyObje 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, PyO 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, PyObj 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, PyOb 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, PyObje 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, PyOb 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, PyObjec 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, PyObjec 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, PyObjec 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 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, Py 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, PyObje 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, PyObjec 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 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 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, 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, PyObje 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, PyObje 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, PyObjec 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, PyObjec 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, PyOb 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, PyObje 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 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, 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, 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 *m 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 *m 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 -r 4aab4e0cd759 Modules/clinic/pwdmodule.c.h --- a/Modules/clinic/pwdmodule.c.h Sun Apr 19 21:13:00 2015 +0300 +++ b/Modules/clinic/pwdmodule.c.h Sun Apr 19 21:30:15 2015 +0300 @@ -33,9 +33,7 @@ pwd_getpwnam(PyModuleDef *module, PyObje 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, PyObje #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 -r 4aab4e0cd759 Modules/clinic/pyexpat.c.h --- a/Modules/clinic/pyexpat.c.h Sun Apr 19 21:13:00 2015 +0300 +++ b/Modules/clinic/pyexpat.c.h Sun Apr 19 21:30:15 2015 +0300 @@ -24,8 +24,7 @@ pyexpat_xmlparser_Parse(xmlparseobject * 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 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_ExternalEntityParserCr 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( 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(xmlparse 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 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 *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 -r 4aab4e0cd759 Modules/clinic/sha1module.c.h --- a/Modules/clinic/sha1module.c.h Sun Apr 19 21:13:00 2015 +0300 +++ b/Modules/clinic/sha1module.c.h Sun Apr 19 21:30:15 2015 +0300 @@ -84,8 +84,7 @@ static PyObject * 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 @@ static PyObject * exit: return return_value; } -/*[clinic end generated code: output=b2890b9ca964b217 input=a9049054013a1b77]*/ +/*[clinic end generated code: output=be19102f3120490a input=a9049054013a1b77]*/ diff -r 4aab4e0cd759 Modules/clinic/sha256module.c.h --- a/Modules/clinic/sha256module.c.h Sun Apr 19 21:13:00 2015 +0300 +++ b/Modules/clinic/sha256module.c.h Sun Apr 19 21:30:15 2015 +0300 @@ -84,8 +84,7 @@ static PyObject * 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 @@ static PyObject * 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 @@ static PyObject * exit: return return_value; } -/*[clinic end generated code: output=8a0520371b097358 input=a9049054013a1b77]*/ +/*[clinic end generated code: output=354cedf3b632c7b2 input=a9049054013a1b77]*/ diff -r 4aab4e0cd759 Modules/clinic/sha512module.c.h --- a/Modules/clinic/sha512module.c.h Sun Apr 19 21:13:00 2015 +0300 +++ b/Modules/clinic/sha512module.c.h Sun Apr 19 21:30:15 2015 +0300 @@ -102,8 +102,7 @@ static PyObject * 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 @@ static PyObject * 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 -r 4aab4e0cd759 Modules/clinic/spwdmodule.c.h --- a/Modules/clinic/spwdmodule.c.h Sun Apr 19 21:13:00 2015 +0300 +++ b/Modules/clinic/spwdmodule.c.h Sun Apr 19 21:30:15 2015 +0300 @@ -24,9 +24,7 @@ spwd_getspnam(PyModuleDef *module, PyObj 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, PyObj #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 -r 4aab4e0cd759 Modules/clinic/unicodedata.c.h --- a/Modules/clinic/unicodedata.c.h Sun Apr 19 21:13:00 2015 +0300 +++ b/Modules/clinic/unicodedata.c.h Sun Apr 19 21:30:15 2015 +0300 @@ -26,8 +26,7 @@ unicodedata_UCD_decimal(PyObject *self, 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, Py 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, 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 *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 * 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 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, 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(PyObjec 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 * 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 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, PyO 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, P 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 -r 4aab4e0cd759 Modules/clinic/zlibmodule.c.h --- a/Modules/clinic/zlibmodule.c.h Sun Apr 19 21:13:00 2015 +0300 +++ b/Modules/clinic/zlibmodule.c.h Sun Apr 19 21:30:15 2015 +0300 @@ -26,8 +26,7 @@ zlib_compress(PyModuleDef *module, PyObj 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, PyO 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, Py 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, 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 *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 *s 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, Py 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 *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, PyObje 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 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]*/ diff -r 4aab4e0cd759 Objects/clinic/bytearrayobject.c.h --- a/Objects/clinic/bytearrayobject.c.h Sun Apr 19 21:13:00 2015 +0300 +++ b/Objects/clinic/bytearrayobject.c.h Sun Apr 19 21:30:15 2015 +0300 @@ -107,8 +107,7 @@ bytearray_maketrans(void *null, PyObject Py_buffer frm = {NULL, NULL}; Py_buffer to = {NULL, NULL}; - if (!PyArg_ParseTuple(args, - "y*y*:maketrans", + if (!PyArg_ParseTuple(args, "y*y*:maketrans", &frm, &to)) goto exit; return_value = bytearray_maketrans_impl(&frm, &to); @@ -152,8 +151,7 @@ bytearray_replace(PyByteArrayObject *sel Py_buffer new = {NULL, NULL}; Py_ssize_t count = -1; - if (!PyArg_ParseTuple(args, - "y*y*|n:replace", + if (!PyArg_ParseTuple(args, "y*y*|n:replace", &old, &new, &count)) goto exit; return_value = bytearray_replace_impl(self, &old, &new, count); @@ -198,8 +196,7 @@ bytearray_split(PyByteArrayObject *self, PyObject *sep = Py_None; Py_ssize_t maxsplit = -1; - if (!PyArg_ParseTupleAndKeywords(args, kwargs, - "|On:split", _keywords, + if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|On:split", _keywords, &sep, &maxsplit)) goto exit; return_value = bytearray_split_impl(self, sep, maxsplit); @@ -271,8 +268,7 @@ bytearray_rsplit(PyByteArrayObject *self PyObject *sep = Py_None; Py_ssize_t maxsplit = -1; - if (!PyArg_ParseTupleAndKeywords(args, kwargs, - "|On:rsplit", _keywords, + if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|On:rsplit", _keywords, &sep, &maxsplit)) goto exit; return_value = bytearray_rsplit_impl(self, sep, maxsplit); @@ -323,8 +319,7 @@ bytearray_insert(PyByteArrayObject *self Py_ssize_t index; int item; - if (!PyArg_ParseTuple(args, - "nO&:insert", + if (!PyArg_ParseTuple(args, "nO&:insert", &index, _getbytevalue, &item)) goto exit; return_value = bytearray_insert_impl(self, index, item); @@ -354,9 +349,7 @@ bytearray_append(PyByteArrayObject *self PyObject *return_value = NULL; int item; - if (!PyArg_Parse(arg, - "O&:append", - _getbytevalue, &item)) + if (!PyArg_Parse(arg, "O&:append", _getbytevalue, &item)) goto exit; return_value = bytearray_append_impl(self, item); @@ -400,8 +393,7 @@ bytearray_pop(PyByteArrayObject *self, P PyObject *return_value = NULL; Py_ssize_t index = -1; - if (!PyArg_ParseTuple(args, - "|n:pop", + if (!PyArg_ParseTuple(args, "|n:pop", &index)) goto exit; return_value = bytearray_pop_impl(self, index); @@ -431,9 +423,7 @@ bytearray_remove(PyByteArrayObject *self PyObject *return_value = NULL; int value; - if (!PyArg_Parse(arg, - "O&:remove", - _getbytevalue, &value)) + if (!PyArg_Parse(arg, "O&:remove", _getbytevalue, &value)) goto exit; return_value = bytearray_remove_impl(self, value); @@ -561,8 +551,7 @@ bytearray_decode(PyByteArrayObject *self const char *encoding = NULL; const char *errors = NULL; - if (!PyArg_ParseTupleAndKeywords(args, kwargs, - "|ss:decode", _keywords, + if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|ss:decode", _keywords, &encoding, &errors)) goto exit; return_value = bytearray_decode_impl(self, encoding, errors); @@ -606,8 +595,7 @@ bytearray_splitlines(PyByteArrayObject * static char *_keywords[] = {"keepends", NULL}; int keepends = 0; - if (!PyArg_ParseTupleAndKeywords(args, kwargs, - "|i:splitlines", _keywords, + if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|i:splitlines", _keywords, &keepends)) goto exit; return_value = bytearray_splitlines_impl(self, keepends); @@ -637,9 +625,7 @@ bytearray_fromhex(PyTypeObject *cls, PyO PyObject *return_value = NULL; PyObject *string; - if (!PyArg_Parse(arg, - "U:fromhex", - &string)) + if (!PyArg_Parse(arg, "U:fromhex", &string)) goto exit; return_value = bytearray_fromhex_impl((PyObject*)cls, string); @@ -683,8 +669,7 @@ bytearray_reduce_ex(PyByteArrayObject *s PyObject *return_value = NULL; int proto = 0; - if (!PyArg_ParseTuple(args, - "|i:__reduce_ex__", + if (!PyArg_ParseTuple(args, "|i:__reduce_ex__", &proto)) goto exit; return_value = bytearray_reduce_ex_impl(self, proto); @@ -710,4 +695,4 @@ bytearray_sizeof(PyByteArrayObject *self { return bytearray_sizeof_impl(self); } -/*[clinic end generated code: output=2a698741a4f14047 input=a9049054013a1b77]*/ +/*[clinic end generated code: output=966c15ff22c5e243 input=a9049054013a1b77]*/ diff -r 4aab4e0cd759 Objects/clinic/bytesobject.c.h --- a/Objects/clinic/bytesobject.c.h Sun Apr 19 21:13:00 2015 +0300 +++ b/Objects/clinic/bytesobject.c.h Sun Apr 19 21:30:15 2015 +0300 @@ -30,8 +30,7 @@ bytes_split(PyBytesObject*self, PyObject PyObject *sep = Py_None; Py_ssize_t maxsplit = -1; - if (!PyArg_ParseTupleAndKeywords(args, kwargs, - "|On:split", _keywords, + if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|On:split", _keywords, &sep, &maxsplit)) goto exit; return_value = bytes_split_impl(self, sep, maxsplit); @@ -65,9 +64,7 @@ bytes_partition(PyBytesObject *self, PyO PyObject *return_value = NULL; Py_buffer sep = {NULL, NULL}; - if (!PyArg_Parse(arg, - "y*:partition", - &sep)) + if (!PyArg_Parse(arg, "y*:partition", &sep)) goto exit; return_value = bytes_partition_impl(self, &sep); @@ -104,9 +101,7 @@ bytes_rpartition(PyBytesObject *self, Py PyObject *return_value = NULL; Py_buffer sep = {NULL, NULL}; - if (!PyArg_Parse(arg, - "y*:rpartition", - &sep)) + if (!PyArg_Parse(arg, "y*:rpartition", &sep)) goto exit; return_value = bytes_rpartition_impl(self, &sep); @@ -148,8 +143,7 @@ bytes_rsplit(PyBytesObject*self, PyObjec PyObject *sep = Py_None; Py_ssize_t maxsplit = -1; - if (!PyArg_ParseTupleAndKeywords(args, kwargs, - "|On:rsplit", _keywords, + if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|On:rsplit", _keywords, &sep, &maxsplit)) goto exit; return_value = bytes_rsplit_impl(self, sep, maxsplit); @@ -332,8 +326,7 @@ bytes_maketrans(void *null, PyObject *ar Py_buffer frm = {NULL, NULL}; Py_buffer to = {NULL, NULL}; - if (!PyArg_ParseTuple(args, - "y*y*:maketrans", + if (!PyArg_ParseTuple(args, "y*y*:maketrans", &frm, &to)) goto exit; return_value = bytes_maketrans_impl(&frm, &to); @@ -377,8 +370,7 @@ bytes_replace(PyBytesObject*self, PyObje Py_buffer new = {NULL, NULL}; Py_ssize_t count = -1; - if (!PyArg_ParseTuple(args, - "y*y*|n:replace", + if (!PyArg_ParseTuple(args, "y*y*|n:replace", &old, &new, &count)) goto exit; return_value = bytes_replace_impl(self, &old, &new, count); @@ -424,8 +416,7 @@ bytes_decode(PyBytesObject*self, PyObjec const char *encoding = NULL; const char *errors = NULL; - if (!PyArg_ParseTupleAndKeywords(args, kwargs, - "|ss:decode", _keywords, + if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|ss:decode", _keywords, &encoding, &errors)) goto exit; return_value = bytes_decode_impl(self, encoding, errors); @@ -456,8 +447,7 @@ bytes_splitlines(PyBytesObject*self, PyO static char *_keywords[] = {"keepends", NULL}; int keepends = 0; - if (!PyArg_ParseTupleAndKeywords(args, kwargs, - "|i:splitlines", _keywords, + if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|i:splitlines", _keywords, &keepends)) goto exit; return_value = bytes_splitlines_impl(self, keepends); @@ -487,13 +477,11 @@ bytes_fromhex(PyTypeObject *type, PyObje PyObject *return_value = NULL; PyObject *string; - if (!PyArg_Parse(arg, - "U:fromhex", - &string)) + if (!PyArg_Parse(arg, "U:fromhex", &string)) goto exit; return_value = bytes_fromhex_impl(type, string); exit: return return_value; } -/*[clinic end generated code: output=deaf886e15270679 input=a9049054013a1b77]*/ +/*[clinic end generated code: output=bd0ce8f25d7e18f4 input=a9049054013a1b77]*/ diff -r 4aab4e0cd759 Objects/clinic/unicodeobject.c.h --- a/Objects/clinic/unicodeobject.c.h Sun Apr 19 21:13:00 2015 +0300 +++ b/Objects/clinic/unicodeobject.c.h Sun Apr 19 21:30:15 2015 +0300 @@ -30,8 +30,7 @@ unicode_maketrans(void *null, PyObject * PyObject *y = NULL; PyObject *z = NULL; - if (!PyArg_ParseTuple(args, - "O|UU:maketrans", + if (!PyArg_ParseTuple(args, "O|UU:maketrans", &x, &y, &z)) goto exit; return_value = unicode_maketrans_impl(x, y, z); @@ -39,4 +38,4 @@ unicode_maketrans(void *null, PyObject * exit: return return_value; } -/*[clinic end generated code: output=4670413843c53055 input=a9049054013a1b77]*/ +/*[clinic end generated code: output=94affdff5b2daff5 input=a9049054013a1b77]*/ diff -r 4aab4e0cd759 Python/clinic/bltinmodule.c.h --- a/Python/clinic/bltinmodule.c.h Sun Apr 19 21:13:00 2015 +0300 +++ b/Python/clinic/bltinmodule.c.h Sun Apr 19 21:30:15 2015 +0300 @@ -93,8 +93,7 @@ builtin_format(PyModuleDef *module, PyOb PyObject *value; PyObject *format_spec = NULL; - if (!PyArg_ParseTuple(args, - "O|U:format", + if (!PyArg_ParseTuple(args, "O|U:format", &value, &format_spec)) goto exit; return_value = builtin_format_impl(module, value, format_spec); @@ -121,9 +120,7 @@ builtin_chr(PyModuleDef *module, PyObjec PyObject *return_value = NULL; int i; - if (!PyArg_Parse(arg, - "i:chr", - &i)) + if (!PyArg_Parse(arg, "i:chr", &i)) goto exit; return_value = builtin_chr_impl(module, i); @@ -169,8 +166,7 @@ builtin_compile(PyModuleDef *module, PyO int dont_inherit = 0; int optimize = -1; - if (!PyArg_ParseTupleAndKeywords(args, kwargs, - "OO&s|iii:compile", _keywords, + if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO&s|iii:compile", _keywords, &source, PyUnicode_FSDecoder, &filename, &mode, &flags, &dont_inherit, &optimize)) goto exit; return_value = builtin_compile_impl(module, source, filename, mode, flags, dont_inherit, optimize); @@ -664,4 +660,4 @@ builtin_issubclass(PyModuleDef *module, exit: return return_value; } -/*[clinic end generated code: output=b308ab64aa4d4ff8 input=a9049054013a1b77]*/ +/*[clinic end generated code: output=9b34d1ca57effad8 input=a9049054013a1b77]*/ diff -r 4aab4e0cd759 Python/clinic/import.c.h --- a/Python/clinic/import.c.h Sun Apr 19 21:13:00 2015 +0300 +++ b/Python/clinic/import.c.h Sun Apr 19 21:30:15 2015 +0300 @@ -88,8 +88,7 @@ static PyObject * PyCodeObject *code; PyObject *path; - if (!PyArg_ParseTuple(args, - "O!U:_fix_co_filename", + if (!PyArg_ParseTuple(args, "O!U:_fix_co_filename", &PyCode_Type, &code, &path)) goto exit; return_value = _imp__fix_co_filename_impl(module, code, path); @@ -134,9 +133,7 @@ static PyObject * PyObject *return_value = NULL; PyObject *name; - if (!PyArg_Parse(arg, - "U:init_builtin", - &name)) + if (!PyArg_Parse(arg, "U:init_builtin", &name)) goto exit; return_value = _imp_init_builtin_impl(module, name); @@ -162,9 +159,7 @@ static PyObject * PyObject *return_value = NULL; PyObject *name; - if (!PyArg_Parse(arg, - "U:init_frozen", - &name)) + if (!PyArg_Parse(arg, "U:init_frozen", &name)) goto exit; return_value = _imp_init_frozen_impl(module, name); @@ -190,9 +185,7 @@ static PyObject * PyObject *return_value = NULL; PyObject *name; - if (!PyArg_Parse(arg, - "U:get_frozen_object", - &name)) + if (!PyArg_Parse(arg, "U:get_frozen_object", &name)) goto exit; return_value = _imp_get_frozen_object_impl(module, name); @@ -218,9 +211,7 @@ static PyObject * PyObject *return_value = NULL; PyObject *name; - if (!PyArg_Parse(arg, - "U:is_frozen_package", - &name)) + if (!PyArg_Parse(arg, "U:is_frozen_package", &name)) goto exit; return_value = _imp_is_frozen_package_impl(module, name); @@ -246,9 +237,7 @@ static PyObject * PyObject *return_value = NULL; PyObject *name; - if (!PyArg_Parse(arg, - "U:is_builtin", - &name)) + if (!PyArg_Parse(arg, "U:is_builtin", &name)) goto exit; return_value = _imp_is_builtin_impl(module, name); @@ -274,9 +263,7 @@ static PyObject * PyObject *return_value = NULL; PyObject *name; - if (!PyArg_Parse(arg, - "U:is_frozen", - &name)) + if (!PyArg_Parse(arg, "U:is_frozen", &name)) goto exit; return_value = _imp_is_frozen_impl(module, name); @@ -307,8 +294,7 @@ static PyObject * PyObject *path; PyObject *file = NULL; - if (!PyArg_ParseTuple(args, - "UO&|O:load_dynamic", + if (!PyArg_ParseTuple(args, "UO&|O:load_dynamic", &name, PyUnicode_FSDecoder, &path, &file)) goto exit; return_value = _imp_load_dynamic_impl(module, name, path, file); @@ -322,4 +308,4 @@ exit: #ifndef _IMP_LOAD_DYNAMIC_METHODDEF #define _IMP_LOAD_DYNAMIC_METHODDEF #endif /* !defined(_IMP_LOAD_DYNAMIC_METHODDEF) */ -/*[clinic end generated code: output=b64fe33fe76591cf input=a9049054013a1b77]*/ +/*[clinic end generated code: output=6d75cece35863874 input=a9049054013a1b77]*/ diff -r 4aab4e0cd759 Tools/clinic/clinic.py --- a/Tools/clinic/clinic.py Sun Apr 19 21:13:00 2015 +0300 +++ b/Tools/clinic/clinic.py Sun Apr 19 21:30:15 2015 +0300 @@ -786,9 +786,7 @@ class CLanguage(Language): """ % argname) parser_definition = parser_body(parser_prototype, normalize_snippet(""" - if (!PyArg_Parse(%s, - "{format_units}:{name}", - {parse_arguments})) + if (!PyArg_Parse(%s, "{format_units}:{name}", {parse_arguments})) goto exit; """ % argname, indent=4)) @@ -825,8 +823,7 @@ class CLanguage(Language): parser_prototype = parser_prototype_varargs parser_definition = parser_body(parser_prototype, normalize_snippet(""" - if (!PyArg_ParseTuple(args, - "{format_units}:{name}", + if (!PyArg_ParseTuple(args, "{format_units}:{name}", {parse_arguments})) goto exit; """, indent=4)) @@ -838,14 +835,12 @@ class CLanguage(Language): parser_prototype = parser_prototype_keyword body = normalize_snippet(""" - if (!PyArg_ParseTupleAndKeywords(args, kwargs, - "{format_units}:{name}", _keywords, + if (!PyArg_ParseTupleAndKeywords(args, kwargs, "{format_units}:{name}", _keywords, {parse_arguments})) goto exit; """, indent=4) parser_definition = parser_body(parser_prototype, normalize_snippet(""" - if (!PyArg_ParseTupleAndKeywords(args, kwargs, - "{format_units}:{name}", _keywords, + if (!PyArg_ParseTupleAndKeywords(args, kwargs, "{format_units}:{name}", _keywords, {parse_arguments})) goto exit; """, indent=4))