##// END OF EJS Templates
Merging in ipython-ipython1b branch. This branch was used to merge in the docs from ipython1-dev,...
Merging in ipython-ipython1b branch. This branch was used to merge in the docs from ipython1-dev, as well as the stuff from the ipython1-sconfig branch. In addition to simply merging the docs from ipython1-dev, I have completely reorganized the docs to make the easier to read and write.

File last commit:

r1251:99658885
r1261:a818e11a 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)