##// END OF EJS Templates
Backport PR #4115: Update docs on declaring a magic function...
Backport PR #4115: Update docs on declaring a magic function The extension docs were telling people to use `define_magic()`, but the docstring says it is deprecated, and it only supports line magics. The replacement seems to be `register_magic_function()`. This directs people to that, and ensures that it is documented.

File last commit:

r4053:b45902e3
r12314:b5f44d4e
Show More
__init__.py
4 lines | 82 B | text/x-python | PythonLexer
try:
from decorator import *
except ImportError:
from _decorator import *