@contextlib.contextmanager<EOL>def bracketed_paste_mode():
sys.stdout.write('<STR_LIT>')<EOL>try:<EOL><INDENT>yield<EOL><DEDENT>finally:<EOL><INDENT>sys.stdout.write('<STR_LIT>')<EOL><DEDENT>
Context manager for enabling/disabling bracketed paste mode.