File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -627,6 +627,8 @@ \subsection{Special methods for any type}
627627reference is deleted. It is not guaranteed that
628628\code {__del__} methods are called for objects that still exist when
629629the interpreter exits.
630+ If an exception occurs in a \code {__del__} method, it is ignored, and
631+ a warning is printed on stderr.
630632\ttindex {__del__}
631633\stindex {del}
632634
Original file line number Diff line number Diff line change @@ -627,6 +627,8 @@ \subsection{Special methods for any type}
627627reference is deleted. It is not guaranteed that
628628\code {__del__} methods are called for objects that still exist when
629629the interpreter exits.
630+ If an exception occurs in a \code {__del__} method, it is ignored, and
631+ a warning is printed on stderr.
630632\ttindex {__del__}
631633\stindex {del}
632634
You can’t perform that action at this time.
0 commit comments