The following code produces syntaxError warning : invalid syntax
with open("file.txt", "w") as fd: fd.write("hello world")
The code still can be run. It's just a false flag warning message.
I just try that on my forked repo, and it didn't show the warning.
Log in to post a comment.
I just try that on my forked repo, and it didn't show the warning.