Lines Matching defs:nargs
31 Py_ssize_t nargs = PyTuple_GET_SIZE(args);
32 Py_ssize_t noptargs = nargs + (kwargs ? PyDict_GET_SIZE(kwargs) : 0) - 2;
37 fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 2, 3, 0, argsbuf);
70 _io_IncrementalNewlineDecoder_decode(nldecoder_object *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
76 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1;
80 args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser, 1, 2, 0, argsbuf);
189 Py_ssize_t nargs = PyTuple_GET_SIZE(args);
190 Py_ssize_t noptargs = nargs + (kwargs ? PyDict_GET_SIZE(kwargs) : 0) - 1;
198 fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 1, 6, 0, argsbuf);
297 _io_TextIOWrapper_reconfigure(textio *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
303 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0;
310 args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser, 0, 0, 0, argsbuf);
409 _io_TextIOWrapper_read(textio *self, PyObject *const *args, Py_ssize_t nargs)
414 if (!_PyArg_CheckPositional("read", nargs, 0, 1)) {
417 if (nargs < 1) {
442 _io_TextIOWrapper_readline(textio *self, PyObject *const *args, Py_ssize_t nargs)
447 if (!_PyArg_CheckPositional("readline", nargs, 0, 1)) {
450 if (nargs < 1) {
484 _io_TextIOWrapper_seek(textio *self, PyObject *const *args, Py_ssize_t nargs)
490 if (!_PyArg_CheckPositional("seek", nargs, 1, 2)) {
494 if (nargs < 2) {
537 _io_TextIOWrapper_truncate(textio *self, PyObject *const *args, Py_ssize_t nargs)
542 if (!_PyArg_CheckPositional("truncate", nargs, 0, 1)) {
545 if (nargs < 1) {