Docstring (triple Quotes) In Ipython/jupyter With Autoclose Brackets/quotes?
I'm trying to use docstrings w/ triple-quotes in my Jupyter notebooks using Python 2.7 . I can disable the autoclose brackets/quotes thing but I'm quite keen on them; major increa
Solution 1:
Nothing is wrong. When you type three " your cursor is at the middle of the resulting six. Thus, anything you type is within the string and has been auto-closed.
Type this exact string of characters: """This is working
without clicking or otherwise moving the cursor. The result will be a correcly formatted string, because it will have auto-closed the string. Therefore you have both strings and autoclose.
Post a Comment for "Docstring (triple Quotes) In Ipython/jupyter With Autoclose Brackets/quotes?"