summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2009-03-05 00:55:56 (GMT)
committerBenjamin Peterson <benjamin@python.org>2009-03-05 00:55:56 (GMT)
commit9a8082f107d3fd3599c2f21a130413030e3d4cfe (patch)
tree10210b0386fb4cc729ec66363211c14042da641b
parent5ac89cc8852e5f8203d3a1f710e89dcc4778ca79 (diff)
downloadcpython-9a8082f107d3fd3599c2f21a130413030e3d4cfe.zip
cpython-9a8082f107d3fd3599c2f21a130413030e3d4cfe.tar.gz
cpython-9a8082f107d3fd3599c2f21a130413030e3d4cfe.tar.bz2
FileIO.readinto() isn't going anywhere
-rw-r--r--Doc/library/io.rst3
-rw-r--r--Modules/_fileio.c2
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"