##// END OF EJS Templates
Fix to allow entering docstring into IPython....
Fix to allow entering docstring into IPython. The EscapeTransformer find method was assuming incorrectly that every line would end with either a NEWLINE or EOF, while this is not the case when encountering multiple line string. This fixes that by making sure we don't index outside of bounds. With this IPython will correctly add a newline at the CLI. Closes #11391

File last commit:

r21337:03608cd1
r24701:ba8538e5
Show More
__main__.py
3 lines | 100 B | text/x-python | PythonLexer
if __name__ == '__main__':
from ipykernel import kernelapp as app
app.launch_new_instance()