From 9a8082f107d3fd3599c2f21a130413030e3d4cfe Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Thu, 5 Mar 2009 00:55:56 +0000 Subject: FileIO.readinto() isn't going anywhere --- Doc/library/io.rst | 3 --- Modules/_fileio.c | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/Doc/library/io.rst b/Doc/library/io.rst index 0bd325a..b0b898d 100644 --- a/Doc/library/io.rst +++ b/Doc/library/io.rst @@ -438,9 +438,6 @@ Raw File I/O the number actually written. Only one system call is made, so it is possible that only some of the data is written. - Note that the inherited ``readinto()`` method should not be used on - :class:`FileIO` objects. - Buffered Streams ---------------- diff --git a/Modules/_fileio.c b/Modules/_fileio.c index 4b382fb..fd35d69 100644 --- a/Modules/_fileio.c +++ b/Modules/_fileio.c @@ -887,7 +887,7 @@ PyDoc_STRVAR(tell_doc, "tell() -> int. Current file position"); PyDoc_STRVAR(readinto_doc, -"readinto() -> Undocumented. Don't use this; it may go away."); +"readinto() -> Same as RawIOBase.readinto()."); PyDoc_STRVAR(close_doc, "close() -> None. Close the file.\n" -- cgit v0.12