##// END OF EJS Templates
maemo scratchbox support: survive missing doctest module and site._Helper
maemo scratchbox support: survive missing doctest module and site._Helper

File last commit:

r1032:4aabf05c
r1198:e819c134
Show More
extension.py
20 lines | 319 B | text/x-python | PythonLexer
Ville M. Vainio
crlf -> lf
r1032 # -*- 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)