Lines Matching refs:_PyArg_BadArgument
38 _PyArg_BadArgument("bytearray", "argument 'encoding'", "str", fastargs[1]); in bytearray___init__()
55 _PyArg_BadArgument("bytearray", "argument 'errors'", "str", fastargs[2]); in bytearray___init__()
136 _PyArg_BadArgument("removeprefix", "argument", "contiguous buffer", arg); in bytearray_removeprefix()
176 _PyArg_BadArgument("removesuffix", "argument", "contiguous buffer", arg); in bytearray_removesuffix()
267 _PyArg_BadArgument("maketrans", "argument 1", "contiguous buffer", args[0]); in bytearray_maketrans()
274 _PyArg_BadArgument("maketrans", "argument 2", "contiguous buffer", args[1]); in bytearray_maketrans()
327 _PyArg_BadArgument("replace", "argument 1", "contiguous buffer", args[0]); in bytearray_replace()
334 _PyArg_BadArgument("replace", "argument 2", "contiguous buffer", args[1]); in bytearray_replace()
862 _PyArg_BadArgument("decode", "argument 'encoding'", "str", args[0]); in bytearray_decode()
879 _PyArg_BadArgument("decode", "argument 'errors'", "str", args[1]); in bytearray_decode()
976 _PyArg_BadArgument("fromhex", "argument", "str", arg); in bytearray_fromhex()