mardi 9 avril 2019

Atom Hydrogen error "unexpected EOF while parsing" for python `if` statement!? (but not other statements)

Seems to be a problem w/ how Atom / Hydrogen interprets the code. for loops it will give me the option to "fold" or "collapse" by clicking the carrot in the line number. Yet, if loops have no such luck.

Editor name and version: Atom 1.35.1

Platform: Mac OS Sierra 10.12.6

Color scheme: One Dark/Solarized Dark

picture of errors on if:

## this works: 
for i in range(10): 
    print( i)

## this doesn't: 
if not False: 
    print("test worked")

Aucun commentaire:

Enregistrer un commentaire