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
fromprettyprinterimportpprintpprint({
(1, 2, 3):
"short string",
(4, 5, 6):
"a really long string, if you see what I mean, just padding it for ""the sake of it",
})
outputs
{
(1, 2, 3): 'short string',
(
4,
5,
6
):
'a really long string, if you see what I mean, just padding it for '
'the sake of it'
}
I would argue that a single-line-printable key should not be forced use to multiline output even if the value needs multiline output (in other words, the layout in the source seems more legible to me).
The text was updated successfully, but these errors were encountered:
Description
As in the title.
What I Did
outputs
I would argue that a single-line-printable key should not be forced use to multiline output even if the value needs multiline output (in other words, the layout in the source seems more legible to me).
The text was updated successfully, but these errors were encountered: