Lines Matching refs:fastargs
824 PyObject * const *fastargs; in bytes_new() local
831 …fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 0, 3… in bytes_new()
832 if (!fastargs) { in bytes_new()
838 if (fastargs[0]) { in bytes_new()
839 x = fastargs[0]; in bytes_new()
844 if (fastargs[1]) { in bytes_new()
845 if (!PyUnicode_Check(fastargs[1])) { in bytes_new()
846 _PyArg_BadArgument("bytes", "argument 'encoding'", "str", fastargs[1]); in bytes_new()
850 encoding = PyUnicode_AsUTF8AndSize(fastargs[1], &encoding_length); in bytes_new()
862 if (!PyUnicode_Check(fastargs[2])) { in bytes_new()
863 _PyArg_BadArgument("bytes", "argument 'errors'", "str", fastargs[2]); in bytes_new()
867 errors = PyUnicode_AsUTF8AndSize(fastargs[2], &errors_length); in bytes_new()