@@ -1675,12 +1675,6 @@ PyDoc_STRVAR(readlines_doc,
16751675"The optional size argument, if given, is an approximate bound on the\n"
16761676"total number of bytes in the lines returned." );
16771677
1678- PyDoc_STRVAR (xreadlines_doc ,
1679- "xreadlines() -> returns self.\n"
1680- "\n"
1681- "For backward compatibility. File objects now include the performance\n"
1682- "optimizations previously implemented in the xreadlines module." );
1683-
16841678PyDoc_STRVAR (writelines_doc ,
16851679"writelines(sequence_of_strings) -> None. Write the strings to the file.\n"
16861680"\n"
@@ -1719,7 +1713,6 @@ static PyMethodDef file_methods[] = {
17191713 {"tell" , (PyCFunction )file_tell , METH_NOARGS , tell_doc },
17201714 {"readinto" , (PyCFunction )file_readinto , METH_VARARGS , readinto_doc },
17211715 {"readlines" , (PyCFunction )file_readlines ,METH_VARARGS , readlines_doc },
1722- {"xreadlines" ,(PyCFunction )file_self , METH_NOARGS , xreadlines_doc },
17231716 {"writelines" ,(PyCFunction )file_writelines , METH_O , writelines_doc },
17241717 {"flush" , (PyCFunction )file_flush , METH_NOARGS , flush_doc },
17251718 {"close" , (PyCFunction )file_close , METH_NOARGS , close_doc },
0 commit comments