##// END OF EJS Templates
Merge pull request #1529 from drtimcouper/master...
Merge pull request #1529 from drtimcouper/master Implement new configurable flag to control tab completion on modules that implement the __all__ attribute: IPCompleter.limit_to__all__= Boolean. Instruct the completer to use __all__ for the completion Specifically, when completing on ``object.<tab>``. When True: only those names in obj.__all__ will be included. When False [default]: the __all__ attribute is ignored.

File last commit:

r5679:2bbef0cd
r6486:47367a06 merge
Show More
embed2.py
5 lines | 220 B | text/x-python | PythonLexer
Thomas Kluyver
Add manual tests for embedding IPython.
r5679 """This tests passing a dict for the user_ns at shell instantiation."""
from IPython import embed
user_ns = dict(cookie='monster')
embed(user_ns=user_ns, banner1="check 'cookie' present, locals and globals equivalent")