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

Patch from Nikolaus Rath.
1 file changed