##// END OF EJS Templates
Workaround argparse changed text in Python 3.10...
Workaround argparse changed text in Python 3.10 “optional arguments” was replaced with “options” in argparse help. https://docs.python.org/3/whatsnew/3.10.html#argparse https://bugs.python.org/issue9694

File last commit:

r22618:12e05563
r27059:8134c2eb
Show More
bad_all.py
14 lines | 206 B | text/x-python | PythonLexer
Thomas Kluyver
Handle bad __all__ for module completions...
r22618 """Module with bad __all__
To test https://github.com/ipython/ipython/issues/9678
"""
def evil():
pass
def puppies():
pass
__all__ = [evil, # Bad
'puppies', # Good
]