Sujet : Re: backslash in triple quoted string
De : greg.ewing (at) *nospam* canterbury.ac.nz (Greg Ewing)
Groupes : comp.lang.pythonDate : 13. May 2025, 01:11:13
Autres entêtes
Message-ID : <m8fh11F2ufiU1@mid.individual.net>
References : 1 2 3 4 5 6 7 8 9 10 11
User-Agent : Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:91.0) Gecko/20100101 Thunderbird/91.3.2
On 13/05/25 6:28 am, Left Right wrote:
Read the associate release note.
I take it you're referring to this:
In a future Python version, SyntaxError will
eventually be raised, instead of SyntaxWarning. (Contributed by Victor
Stinner in gh-98401.)
That doesn't contradict what I said. Currently it's a warning. If and when it becomes an error, presumably the grammar documentation will be updated to reflect that. If it isn't, you'll have cause to complain, but not before.
-- Greg