##// END OF EJS Templates
fix docs of custommagics (#14478)...
fix docs of custommagics (#14478) While trying to implement custom magic I stumbled upon error while trying to import decorators. I found that wrong module is mentioned and decided to fix that.

File last commit:

r22978:37da7145
r28816:f22a925d merge
Show More
embed_no_flufl.py
6 lines | 293 B | text/x-python | PythonLexer
"""This tests that future compiler flags are passed to the embedded IPython."""
from IPython import embed
import __future__
embed(banner1='', header='check 1 <> 2 cause SyntaxError')
embed(banner1='', header='check 1 <> 2 == True',
compile_flags=__future__.barry_as_FLUFL.compiler_flag)