Commit efda558b authored by Benjamin Peterson's avatar Benjamin Peterson

document IOBase.__del__'s behavior (closes #21764)

Patch from Nikolaus Rath.
parent 8d24d77c
......@@ -346,6 +346,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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment