From: Benjamin Peterson Date: Thu, 5 Mar 2009 00:55:56 +0000 (+0000) Subject: FileIO.readinto() isn't going anywhere X-Git-Tag: v3.1a1~18 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9a8082f107d3fd3599c2f21a130413030e3d4cfe;p=python FileIO.readinto() isn't going anywhere --- diff --git a/Doc/library/io.rst b/Doc/library/io.rst index 0bd325a84d..b0b898dfc9 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 4b382fb729..fd35d69879 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"