Skip to content

Conversation

@martinwicke
Copy link
Contributor

"Self-documenting variables" was added in Python3.8 (https://docs.python.org/3/whatsnew/3.8.html#f-strings-support-for-self-documenting-expressions-and-debugging) but currently confuses the annotator (it expects a '!' for a conversion, but sees a '=' instead).

Eat a = after a variable in an f-string. This is already encoded in the structure of the JoinedStr so we shouldn't have to remember it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants