Closed relikd closed 4 years ago
Also, this is valid syntax but is not recognized as such:
def funny(title):
return f'''
{title}
'''
jedi parso versions?
Nevermind, my bad. I changed the anaconda python interpreter to python3 and that fixed the issue.
But it seems everything is a bit mixed up:
Setting #!/usr/bin/env python3
seems to accept f-string but not the star-unwrap. Changing the interpreter will also accept the unwrap. weird. (but both ways the multiline f-string was working today, maybe a temporary hiccup?)
Not sure what it was, but in general Jedi only recognizes syntax for the Python version that you are using (in Jedi terms this is called an Environment
).
Hey there dear people,
not sure if this is the right place. I am using jedi with Anaconda in Sublime Text. I do get an “invalid syntax” error for legitimate python3 code:
It is not a major issue but would be nice if my IDE would not complain about it 😄