Larry Hastings <la...@hastings.org> added the comment:
The point is that := is valid expression syntax in Python 3.8, but you can't use it in an f-string. The fact that the error is the same in 3.6 and 3.7 is irrelevant because := was not valid syntax in those versions. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue36798> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com