fixed PY-7151 Convert triple-quoted string to single-quoted string: do not wrap string with parenthesis if initial string is already inside them

This commit is contained in:
Ekaterina Tuzova
2012-08-21 13:02:29 +04:00
parent 4b5bd21c0b
commit ea74f4e707
2 changed files with 13 additions and 27 deletions
@@ -1,5 +1,7 @@
if True:
if True:
a = ('\'Hello\' - said man.\n' '\n'
'Let\'s go.' '\n'
'And they went out.')
a = ('\'Hello\' - said man.\n'
'\n'
' Let\'s go.\n'
' And they went out.'
)