Lines Matching defs:line
436 "Read and return a line from the stream.\n"
440 "The line terminator is always b'\\n' for binary files; for text\n"
441 "files, the newlines argument to open can be used to select the line\n"
564 PyObject *line = PyObject_CallMethodObjArgs(self, _PyIO_str_readline, NULL);
566 if (line == NULL)
569 if (PyObject_Size(line) == 0) {
570 Py_DECREF(line);
574 return line;
612 PyObject *line = PyIter_Next(self);
613 if (line == NULL) {
622 if (PyList_Append(result, line) < 0) {
623 Py_DECREF(line);
627 length += PyObject_Size(line);
628 Py_DECREF(line);
653 PyObject *line = PyIter_Next(iter);
654 if (line == NULL) {
665 res = PyObject_CallMethodObjArgs(self, _PyIO_str_write, line, NULL);
667 Py_DECREF(line);