Author pitrou
Recipients Pam.McANulty, fdrake, pitrou
Date 2013-04-20.20:37:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Ok, I hadn't noticed that pretty-printing a single string didn't add the parentheses as desired:

>>> pprint.pprint("abcd " * 6, width=15)
'abcd abcd '
'abcd abcd '
'abcd abcd '

On the other hand, the added parentheses aren't needed when inside a container (line continuations will work without them).

(and of course the same rules should apply to bytes objects :-))
Date User Action Args
2013-04-20 20:37:55pitrousetrecipients: + pitrou, fdrake, Pam.McANulty
2013-04-20 20:37:55pitrousetmessageid: <>
2013-04-20 20:37:55pitroulinkissue17530 messages
2013-04-20 20:37:55pitroucreate