(self)
| 763 | return line.startswith('#!') and 'python' in line |
| 764 | |
| 765 | def close_hook(self): |
| 766 | if self.flist: |
| 767 | self.flist.unregister_maybe_terminate(self) |
| 768 | self.flist = None |
| 769 | |
| 770 | def set_close_hook(self, close_hook): |
| 771 | self.close_hook = close_hook |
no test coverage detected