[Python-checkins] r68003 - sandbox/trunk/io-c/_textio.c
amaury.forgeotdarc
python-checkins at python.org
Mon Dec 29 02:21:57 CET 2008
Author: amaury.forgeotdarc
Date: Mon Dec 29 02:21:57 2008
New Revision: 68003
Log:
Remove unused function
Modified:
sandbox/trunk/io-c/_textio.c
Modified: sandbox/trunk/io-c/_textio.c
==============================================================================
--- sandbox/trunk/io-c/_textio.c (original)
+++ sandbox/trunk/io-c/_textio.c Mon Dec 29 02:21:57 2008
@@ -822,25 +822,6 @@
static PyObject *
-TextIOWrapper_next(PyTextIOWrapperObject *self, PyObject *args)
-{
- PyObject *line;
- self->telling = 0;
-
- line = PyObject_CallMethod((PyObject *)self, "readline", NULL);
- if (line == NULL)
- return NULL;
-
- if (Py_SIZE(line) == 0) {
- Py_CLEAR(self->snapshot);
- self->telling = self->seekable;
- return NULL;
- }
-
- return line;
-}
-
-static PyObject *
TextIOWrapper_readline(PyTextIOWrapperObject *self, PyObject *args)
{
Py_ssize_t limit = -1;
More information about the Python-checkins
mailing list