##// END OF EJS Templates
Restore some functionality of the sphinx directive....
Restore some functionality of the sphinx directive. See #11362 The issue is in 2 part, before IPython 7.0 the input splitter was state full, this was (in part) due to readline. The second part is that because of this, we had to be a bit adressive of what was considered complete code (it had to have 2 new line). This is now not required anymore as we can submit stuff as a whole. I hope that this fixes that. I have another fix in mind that count (and reset) the number of consecutive blank line, but that will be more complicated end code.

File last commit:

r21337:03608cd1
r24710:73f493f5
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()