##// END OF EJS Templates
Only complete exported submodules in import statements...
Only complete exported submodules in import statements When completing `import m.` statements, only complete exported (`__all__`) objects if they are modules. E.g. `import os.pa` should complete `os.path` but not `os.pathconf`.

File last commit:

r22978:37da7145
r26669:b2433d61
Show More
embed_flufl.py
5 lines | 269 B | text/x-python | PythonLexer
"""This tests that future compiler flags are passed to the embedded IPython."""
from __future__ import barry_as_FLUFL
from IPython import embed
embed(banner1='', header='check 1 <> 2 == True')
embed(banner1='', header='check 1 <> 2 cause SyntaxError', compile_flags=0)