Zachary Ware added the comment:

>>> result = '{:\^3}'.format('R')
>>> result
'\\R\\'
>>> print(result)
\R\
>>> print("backslash (\\) is escaped by another backslash in str's repr")
backslash (\) is escaped by another backslash in str's repr

----------
nosy: +zach.ware
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue30321>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to