Lines Matching defs:line
520 Read and return a line from the stream.
524 The line terminator is always b'\n' for binary files; for text
525 files, the newlines argument to open can be used to select the line
652 PyObject *line = PyObject_CallMethodNoArgs(self, &_Py_ID(readline));
654 if (line == NULL)
657 if (PyObject_Size(line) <= 0) {
659 Py_DECREF(line);
663 return line;
709 PyObject *line = PyIter_Next(it);
710 if (line == NULL) {
718 if (PyList_Append(result, line) < 0) {
719 Py_DECREF(line);
722 line_length = PyObject_Size(line);
723 Py_DECREF(line);
749 lines provided to have a line separator at the end.
766 PyObject *line = PyIter_Next(iter);
767 if (line == NULL) {
778 res = PyObject_CallMethodObjArgs(self, &_Py_ID(write), line, NULL);
780 Py_DECREF(line);