New submission from Kevin Ardath <[email protected]>:
When attempting to concatenate some strings with a new line, I observed that
formatting braces in a raw string skipped a new line escape:
print(r'{{}}\nx'.format())
Produces:
{}\nx
Rather than:
{}
x
----------
messages: 377624
nosy: ardath.kevin
priority: normal
severity: normal
status: open
title: New Line escape issue in raw strings
type: behavior
versions: Python 3.7
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue41881>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com