Message187456
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:55 | pitrou | set | recipients:
+ pitrou, fdrake, Pam.McANulty |
2013-04-20 20:37:55 | pitrou | set | messageid: <1366490275.67.0.613399841673.issue17530@psf.upfronthosting.co.za> |
2013-04-20 20:37:55 | pitrou | link | issue17530 messages |
2013-04-20 20:37:55 | pitrou | create | |
|