summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 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"