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
Currently the criterion for end of python cell is 'two blank lines'.
For non pep8 files, this can break a python function into two cells.
We could use indentation to detect when a cell actually ends, and make sure that that f in the example below is parsed as a single cell:
def f(a):
return a+1
The text was updated successfully, but these errors were encountered:
mwouts
changed the title
Indented python code in .py file should not be breaked into multiple cells
Indented python code in .py file should not be split into multiple cells
Jul 19, 2018
Currently the criterion for end of python cell is 'two blank lines'.
For non pep8 files, this can break a python function into two cells.
We could use indentation to detect when a cell actually ends, and make sure that that
f
in the example below is parsed as a single cell:The text was updated successfully, but these errors were encountered: