##// END OF EJS Templates
Merge of the ipython-ipython1a branch into the ipython trunk. This merge represents the first...
Merge of the ipython-ipython1a branch into the ipython trunk. This merge represents the first merging of the things in ipython1-dev into ipython. More specifically, this merge includes the basic ipython1 kernel and a few related subpackages. Most importantly, the setup.py script and friends have been refactored.

File last commit:

r1032:4aabf05c
r1247:48fb9d90 merge
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)