You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2017-05-09.19:49:19.549>created_at=<Date2017-05-09.19:45:12.429>labels= ['invalid']
title='format() function prints fillchar as backslash twice'updated_at=<Date2017-05-09.19:49:19.548>user='https://bugs.python.org/pradeepkr'
>>> 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
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: