Improve error message for strings with conflicting prefixes
Navigation Menu
{{ message }}
- Notifications You must be signed in to change notification settings
- Fork 34.1k
Closed
Description
opened
on Apr 30, 2025Feature or enhancement
Right now it is:
>>> ft'a' File "<python-input-3>", line 1 ft'a' ^^^ SyntaxError: invalid syntax
I propose:
>>> ft'a' File "<python-input-3>", line 1 ft'a' ^^^ SyntaxError: can't use both "f" and "t" prefixes for strings at the same time
cc @lysnikolaou
I am working on the issue :)
Linked PRs
Metadata
Metadata
Assignees
Labels
Projects
No projects
Milestone
No milestone
Relationships
None yet
Development
No branches or pull requests
Issue actions