Tweeted By @ogrisel
TIL: in IPython, to insert a new line and turn a long Python oneliner expression into a more readable multi-line code snippet, you can press the following sequence:
— Olivier Grisel (@ogrisel) January 14, 2022
ctrl-q ctrl-j
Pressing "Enter" would instead have triggered the REPL execution, even with surrounding parens. pic.twitter.com/oDD186JR5x