Lines Matching refs:fastargs
30 PyObject * const *fastargs;
37 fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 2, 3, 0, argsbuf);
38 if (!fastargs) {
41 decoder = fastargs[0];
42 translate = _PyLong_AsInt(fastargs[1]);
49 errors = fastargs[2];
188 PyObject * const *fastargs;
198 fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 1, 6, 0, argsbuf);
199 if (!fastargs) {
202 buffer = fastargs[0];
206 if (fastargs[1]) {
207 if (fastargs[1] == Py_None) {
210 else if (PyUnicode_Check(fastargs[1])) {
212 encoding = PyUnicode_AsUTF8AndSize(fastargs[1], &encoding_length);
222 _PyArg_BadArgument("TextIOWrapper", "argument 'encoding'", "str or None", fastargs[1]);
229 if (fastargs[2]) {
230 errors = fastargs[2];
235 if (fastargs[3]) {
236 if (fastargs[3] == Py_None) {
239 else if (PyUnicode_Check(fastargs[3])) {
241 newline = PyUnicode_AsUTF8AndSize(fastargs[3], &newline_length);
251 _PyArg_BadArgument("TextIOWrapper", "argument 'newline'", "str or None", fastargs[3]);
258 if (fastargs[4]) {
259 line_buffering = _PyLong_AsInt(fastargs[4]);
267 write_through = _PyLong_AsInt(fastargs[5]);