diff options
author | Benjamin Peterson <benjamin@python.org> | 2009-03-05 00:55:56 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2009-03-05 00:55:56 (GMT) |
commit | 9a8082f107d3fd3599c2f21a130413030e3d4cfe (patch) | |
tree | 10210b0386fb4cc729ec66363211c14042da641b | |
parent | 5ac89cc8852e5f8203d3a1f710e89dcc4778ca79 (diff) | |
download | cpython-9a8082f107d3fd3599c2f21a130413030e3d4cfe.zip cpython-9a8082f107d3fd3599c2f21a130413030e3d4cfe.tar.gz cpython-9a8082f107d3fd3599c2f21a130413030e3d4cfe.tar.bz2 |
FileIO.readinto() isn't going anywhere
-rw-r--r-- | Doc/library/io.rst | 3 | ||||
-rw-r--r-- | Modules/_fileio.c | 2 |
2 files changed, 1 insertions, 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" |