##// END OF EJS Templates
Added functionality to %R and %octave magics so that -i first looks in local...
Added functionality to %R and %octave magics so that -i first looks in local scope before looking in user_ns. This allows the magics to be called from within functions. Also Modified @needs_local_scope decorator for magic extensions to use a kwarg with the local namespace, so functions now get a separate kward local_ns, e.g. def magic_function(line, cell=None, local_ns=None): ...

File last commit:

r3408:261328d5
r8262:99483a20
Show More
__init__.py
4 lines | 90 B | text/x-python | PythonLexer
try:
from simplegeneric import *
except ImportError:
from _simplegeneric import *