def finalize(self):
if self._original_steam is not None and self._redirection:<EOL><INDENT>sys.stdout = self._original_steam<EOL>print('<STR_LIT>')<EOL>self._redirection = False<EOL>self._original_steam = None<EOL><DEDENT>
Disables redirection