##// END OF EJS Templates
Isolate the displayhook created by ipython0. This fixes a test not...
Isolate the displayhook created by ipython0. This fixes a test not passing due to the side-effects of testing the prefilterfrontend.

File last commit:

r1251:99658885
r1472:dddf1831
Show More
extension.py
20 lines | 319 B | text/x-python | PythonLexer
# -*- coding: utf-8 -*-
import IPython.ipapi
ip = IPython.ipapi.get()
def ${name}_f(self, arg):
r""" Short explanation
Long explanation, examples
"""
# opts,args = self.parse_options(arg,'rx')
# if 'r' in opts: pass
ip.expose_magic("${name}",${name}_f)