Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3a0b6aa

Browse files
committed
merge 3.4 (#21764)
2 parents ff180af + ef8abfc commit 3a0b6aa

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

Doc/library/io.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,12 @@ I/O Base Classes
353353
is usual for each of the lines provided to have a line separator at the
354354
end.
355355

356+
.. method:: __del__()
357+
358+
Prepare for object destruction. :class:`IOBase` provides a default
359+
implementation of this method that calls the instance's
360+
:meth:`~IOBase.close` method.
361+
356362

357363
.. class:: RawIOBase
358364

0 commit comments

Comments
 (0)