    def __exit__(self, exc_type, exc_value, traceback):
        """
        Clear up the resources for this context.
        """
        if self._file:
            self._file.close()
Clear up the resources for this context.
asciimatics/renderers/players.py