summaryrefslogtreecommitdiffstats
path: root/Modules/_io/clinic/bufferedio.c.h
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/_io/clinic/bufferedio.c.h')
-rw-r--r--Modules/_io/clinic/bufferedio.c.h50
1 files changed, 15 insertions, 35 deletions
diff --git a/Modules/_io/clinic/bufferedio.c.h b/Modules/_io/clinic/bufferedio.c.h
index b79b8d5..437e275 100644
--- a/Modules/_io/clinic/bufferedio.c.h
+++ b/Modules/_io/clinic/bufferedio.c.h
@@ -19,9 +19,7 @@ _io__BufferedIOBase_readinto(PyObject *self, PyObject *arg)
PyObject *return_value = NULL;
Py_buffer buffer = {NULL, NULL};
- if (!PyArg_Parse(arg,
- "w*:readinto",
- &buffer))
+ if (!PyArg_Parse(arg, "w*:readinto", &buffer))
goto exit;
return_value = _io__BufferedIOBase_readinto_impl(self, &buffer);
@@ -50,9 +48,7 @@ _io__BufferedIOBase_readinto1(PyObject *self, PyObject *arg)
PyObject *return_value = NULL;
Py_buffer buffer = {NULL, NULL};
- if (!PyArg_Parse(arg,
- "w*:readinto1",
- &buffer))
+ if (!PyArg_Parse(arg, "w*:readinto1", &buffer))
goto exit;
return_value = _io__BufferedIOBase_readinto1_impl(self, &buffer);
@@ -102,8 +98,7 @@ _io__Buffered_peek(buffered *self, PyObject *args)
PyObject *return_value = NULL;
Py_ssize_t size = 0;
- if (!PyArg_ParseTuple(args,
- "|n:peek",
+ if (!PyArg_ParseTuple(args, "|n:peek",
&size))
goto exit;
return_value = _io__Buffered_peek_impl(self, size);
@@ -129,8 +124,7 @@ _io__Buffered_read(buffered *self, PyObject *args)
PyObject *return_value = NULL;
Py_ssize_t n = -1;
- if (!PyArg_ParseTuple(args,
- "|O&:read",
+ if (!PyArg_ParseTuple(args, "|O&:read",
_PyIO_ConvertSsize_t, &n))
goto exit;
return_value = _io__Buffered_read_impl(self, n);
@@ -156,9 +150,7 @@ _io__Buffered_read1(buffered *self, PyObject *arg)
PyObject *return_value = NULL;
Py_ssize_t n;
- if (!PyArg_Parse(arg,
- "n:read1",
- &n))
+ if (!PyArg_Parse(arg, "n:read1", &n))
goto exit;
return_value = _io__Buffered_read1_impl(self, n);
@@ -183,9 +175,7 @@ _io__Buffered_readinto(buffered *self, PyObject *arg)
PyObject *return_value = NULL;
Py_buffer buffer = {NULL, NULL};
- if (!PyArg_Parse(arg,
- "w*:readinto",
- &buffer))
+ if (!PyArg_Parse(arg, "w*:readinto", &buffer))
goto exit;
return_value = _io__Buffered_readinto_impl(self, &buffer);
@@ -214,9 +204,7 @@ _io__Buffered_readinto1(buffered *self, PyObject *arg)
PyObject *return_value = NULL;
Py_buffer buffer = {NULL, NULL};
- if (!PyArg_Parse(arg,
- "w*:readinto1",
- &buffer))
+ if (!PyArg_Parse(arg, "w*:readinto1", &buffer))
goto exit;
return_value = _io__Buffered_readinto1_impl(self, &buffer);
@@ -245,8 +233,7 @@ _io__Buffered_readline(buffered *self, PyObject *args)
PyObject *return_value = NULL;
Py_ssize_t size = -1;
- if (!PyArg_ParseTuple(args,
- "|O&:readline",
+ if (!PyArg_ParseTuple(args, "|O&:readline",
_PyIO_ConvertSsize_t, &size))
goto exit;
return_value = _io__Buffered_readline_impl(self, size);
@@ -273,8 +260,7 @@ _io__Buffered_seek(buffered *self, PyObject *args)
PyObject *targetobj;
int whence = 0;
- if (!PyArg_ParseTuple(args,
- "O|i:seek",
+ if (!PyArg_ParseTuple(args, "O|i:seek",
&targetobj, &whence))
goto exit;
return_value = _io__Buffered_seek_impl(self, targetobj, whence);
@@ -328,8 +314,7 @@ _io_BufferedReader___init__(PyObject *self, PyObject *args, PyObject *kwargs)
PyObject *raw;
Py_ssize_t buffer_size = DEFAULT_BUFFER_SIZE;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "O|n:BufferedReader", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O|n:BufferedReader", _keywords,
&raw, &buffer_size))
goto exit;
return_value = _io_BufferedReader___init___impl((buffered *)self, raw, buffer_size);
@@ -360,8 +345,7 @@ _io_BufferedWriter___init__(PyObject *self, PyObject *args, PyObject *kwargs)
PyObject *raw;
Py_ssize_t buffer_size = DEFAULT_BUFFER_SIZE;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "O|n:BufferedWriter", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O|n:BufferedWriter", _keywords,
&raw, &buffer_size))
goto exit;
return_value = _io_BufferedWriter___init___impl((buffered *)self, raw, buffer_size);
@@ -387,9 +371,7 @@ _io_BufferedWriter_write(buffered *self, PyObject *arg)
PyObject *return_value = NULL;
Py_buffer buffer = {NULL, NULL};
- if (!PyArg_Parse(arg,
- "y*:write",
- &buffer))
+ if (!PyArg_Parse(arg, "y*:write", &buffer))
goto exit;
return_value = _io_BufferedWriter_write_impl(self, &buffer);
@@ -430,8 +412,7 @@ _io_BufferedRWPair___init__(PyObject *self, PyObject *args, PyObject *kwargs)
if ((Py_TYPE(self) == &PyBufferedRWPair_Type) &&
!_PyArg_NoKeywords("BufferedRWPair", kwargs))
goto exit;
- if (!PyArg_ParseTuple(args,
- "OO|n:BufferedRWPair",
+ if (!PyArg_ParseTuple(args, "OO|n:BufferedRWPair",
&reader, &writer, &buffer_size))
goto exit;
return_value = _io_BufferedRWPair___init___impl((rwpair *)self, reader, writer, buffer_size);
@@ -462,8 +443,7 @@ _io_BufferedRandom___init__(PyObject *self, PyObject *args, PyObject *kwargs)
PyObject *raw;
Py_ssize_t buffer_size = DEFAULT_BUFFER_SIZE;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "O|n:BufferedRandom", _keywords,
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O|n:BufferedRandom", _keywords,
&raw, &buffer_size))
goto exit;
return_value = _io_BufferedRandom___init___impl((buffered *)self, raw, buffer_size);
@@ -471,4 +451,4 @@ _io_BufferedRandom___init__(PyObject *self, PyObject *args, PyObject *kwargs)
exit:
return return_value;
}
-/*[clinic end generated code: output=78808e39f36e3fa9 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=2bbb5e239b4ffe6f input=a9049054013a1b77]*/