diff options
-rw-r--r-- | Doc/library/io.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/library/io.rst b/Doc/library/io.rst index 79f65e0..0c7d3c7 100644 --- a/Doc/library/io.rst +++ b/Doc/library/io.rst @@ -353,6 +353,12 @@ I/O Base Classes is usual for each of the lines provided to have a line separator at the end. + .. method:: __del__() + + Prepare for object destruction. :class:`IOBase` provides a default + implementation of this method that calls the instance's + :meth:`~IOBase.close` method. + .. class:: RawIOBase |