5 ms·
There are also `fr`-prefixed strings, which do substitution but no escaping, and `br`-prefixed raw byte sequences.
by pansa2 7y ago
There are also `fr`-prefixed strings, which do substitution but no escaping, and `br`-prefixed raw byte sequences.
- BerislavLopac 7y agoExcellent point, thank you! There are also the u"u-strings" which were reintroduced to reduce the workload when converting the Python 2 programs; unfortunately they forgot to do the same for the relatively common (at least when defining regular expressions) ru"ru-strings" and ur"ur-strings"...