4 ms·
> u"" is a syntax error in python3 This has not been the case since 2012. The last release of Python 3 for which this was the case reached end of life in Febru
by ak217 8y ago
> u"" is a syntax error in python3
This has not been the case since 2012. The last release of Python 3 for which this was the case reached end of life in February 2016. Please stop misinforming people.
- deleted 8y ago[deleted]
- Gorgor 8y agoWhile u"" is accepted in current Python 3, for some reason they ignored the raw unicode string ur"" which still is a syntax error in Python 3. So, unicode_literals is definitely preferable.