##// END OF EJS Templates
Get Tracer working after ipapi.get replaced with get_ipython...
Get Tracer working after ipapi.get replaced with get_ipython Commit 790f731 replaced `ipapi.get` with a `get_ipython` function, that changed the API slightly, returning None when no InteractiveShell instance has been registered.

File last commit:

r6183:26a70f4b
r11114:2d8f2676
Show More
daft_extension.py
12 lines | 285 B | text/x-python | PythonLexer
# -*- coding: utf-8 -*-
"""
Useless IPython extension to test installing and loading extensions.
"""
some_vars = {'arq': 185}
def load_ipython_extension(ip):
# set up simplified quantity input
ip.push(some_vars)
def unload_ipython_extension(ip):
ip.drop_by_id(some_vars)