You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to share this issue I recently found. Not sure this has been discussed already.
Here a simple example of code that generate an error:
#+begin_src jupyter-python
class Example():
"""docstring"""
#+end_src
#+RESULTS:
:RESULTS:
# [goto error]
: Cell In[155], line 5
: get_ipython().run_cell(r"""class Example():
: ^
: SyntaxError: invalid syntax. Perhaps you forgot a comma?
:END:
The way I found to avoid this is to replace """ with '''.
I believe the use of """ is recommended or at least very common.
Is there a way to fix this? Or there's something broken in my org config.
Thanks!
The text was updated successfully, but these errors were encountered:
I wanted to share this issue I recently found. Not sure this has been discussed already.
Here a simple example of code that generate an error:
The way I found to avoid this is to replace """ with '''.
I believe the use of """ is recommended or at least very common.
Is there a way to fix this? Or there's something broken in my org config.
Thanks!
The text was updated successfully, but these errors were encountered: