##// END OF EJS Templates
Allow IPython to start when PYTHONOPTIMIZE=2...
Thomas Kluyver -
Show More
@@ -47,6 +47,8 b' def _modify_str_or_docstring(str_change_func):'
47 func = func_or_str
47 func = func_or_str
48 doc = func.__doc__
48 doc = func.__doc__
49
49
50 # PYTHONOPTIMIZE=2 strips docstrings, so they can disappear unexpectedly
51 if doc is not None:
50 doc = str_change_func(doc)
52 doc = str_change_func(doc)
51
53
52 if func:
54 if func:
General Comments 0
You need to be logged in to leave comments. Login now