##// END OF EJS Templates
Do not shadow explicit magic completion....
Do not shadow explicit magic completion. If a binding has the same name than a magic, the magic should be shadowed; unless the use is explicitly requesting a magic with a leading percent sign. Closes #10754

File last commit:

r22618:12e05563
r23898:5a613e02
Show More
bad_all.py
14 lines | 206 B | text/x-python | PythonLexer
"""Module with bad __all__
To test https://github.com/ipython/ipython/issues/9678
"""
def evil():
pass
def puppies():
pass
__all__ = [evil, # Bad
'puppies', # Good
]