def load_ipython_extension(ip):
if not getattr(ip, '<STR_LIT>'):<EOL><INDENT>warnings.warn(<EOL>"<STR_LIT>"<EOL>)<EOL>return<EOL><DEDENT>ip.events.register('<STR_LIT>', sys_pipes_forever)<EOL>ip.events.register('<STR_LIT>', stop_sys_pipes)<EOL>
Register me as an IPython extension

    Captures all C output during execution and forwards to sys.

    Does nothing on terminal IPython.

    Use: %load_ext wurlitzer