[Python-checkins] r68876 - python/branches/io-c/Modules/_textio.c

antoine.pitrou python-checkins at python.org
Sat Jan 24 00:01:25 CET 2009


Author: antoine.pitrou
Date: Sat Jan 24 00:01:25 2009
New Revision: 68876

Log:
Two typos



Modified:
   python/branches/io-c/Modules/_textio.c

Modified: python/branches/io-c/Modules/_textio.c
==============================================================================
--- python/branches/io-c/Modules/_textio.c	(original)
+++ python/branches/io-c/Modules/_textio.c	Sat Jan 24 00:01:25 2009
@@ -50,7 +50,7 @@
 static PyObject *
 TextIOBase_readline(PyObject *self, PyObject *args)
 {
-    return _unsupported("read");
+    return _unsupported("readline");
 }
 
 PyDoc_STRVAR(TextIOBase_write_doc,
@@ -62,7 +62,7 @@
 static PyObject *
 TextIOBase_write(PyObject *self, PyObject *args)
 {
-    return _unsupported("read");
+    return _unsupported("write");
 }
 
 PyDoc_STRVAR(TextIOBase_encoding_doc,


More information about the Python-checkins mailing list