##// 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:

r8121:66727cb1
r12314:b5f44d4e
Show More
print_argv.py
2 lines | 30 B | text/x-python | PythonLexer
import sys
print sys.argv[1:]