Open in CoCalc with one click!
%md https://github.com/sagemathinc/smc/issues/981

https://github.com/sagemathinc/smc/issues/981

def f(): print "hi" # comment at indent 0 print 'should not execute BUT DOES'
should not execute BUT DOES
f()
hi
a = """def f(): print "hi" # comment at indent 0 print 'should not execute BUT DOES'""" a
'def f():\n print "hi"\n# comment at indent 0\n print \'should not execute BUT DOES\''
def f(): print "hi" # comment at indent 0 print 'should not execute BUT DOES'
should not execute BUT DOES