Lines Matching defs:args
9 long_new(PyTypeObject *type, PyObject *args, PyObject *kwargs)
16 Py_ssize_t nargs = PyTuple_GET_SIZE(args);
21 fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 0, 2, 0, argsbuf);
105 int___round__(PyObject *self, PyObject *const *args, Py_ssize_t nargs)
116 o_ndigits = args[0];
257 int_to_bytes(PyObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
268 args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser, 0, 2, 0, argsbuf);
269 if (!args) {
275 if (args[0]) {
278 PyObject *iobj = _PyNumber_Index(args[0]);
292 if (args[1]) {
293 if (!PyUnicode_Check(args[1])) {
294 _PyArg_BadArgument("to_bytes", "argument 'byteorder'", "str", args[1]);
297 if (PyUnicode_READY(args[1]) == -1) {
300 byteorder = args[1];
309 is_signed = PyObject_IsTrue(args[2]);
348 int_from_bytes(PyTypeObject *type, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
359 args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser, 1, 2, 0, argsbuf);
360 if (!args) {
363 bytes_obj = args[0];
367 if (args[1]) {
368 if (!PyUnicode_Check(args[1])) {
369 _PyArg_BadArgument("from_bytes", "argument 'byteorder'", "str", args[1]);
372 if (PyUnicode_READY(args[1]) == -1) {
375 byteorder = args[1];
384 is_signed = PyObject_IsTrue(args[2]);