You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This may add an additional string representation, which I think should be considered seriously, rather than blindly following the implementation of other languages. I'm trying to test this change.
Yet another type of quotes is not a minor feature request - this is something, that should be discussed on https://discuss.python.org/c/ideas/6 first. Then we can consider to reopen this issue.
Backticks were part of Python syntax until 2.7 as +- equivalent to repr. They were not popular with most people and reuse would face opposition. Any discussion should start with a review of the discussion then.
Feature or enhancement
Proposal:
Currently, string literals in python are surrounded by apostrophes (') or quotation marks (")
The inconvenience is that if we want a string containing both
'
and"
, we need to escape themIt would be nice to use the accent character as a third option to surround string literals and string substitutions, so I can do
It is the case with Javascript and node.js
Has this already been discussed elsewhere?
No response given
Links to previous discussion of this feature:
No response
The text was updated successfully, but these errors were encountered: