Ezio Melotti added the comment: :meth:`closed <close>` works too. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue16025> _______________________________________