Start multi-line __repr__s on their own line by eric-wieser · Pull Request #12099 · ipython/ipython (original) (raw)

In [115]: [Rectangle(3, 4), Rectangle(6, 2), 0, 1]
Out[115]:
[+---+
 |###|
 |###|
 +---+,
 +-+
 |#|
 |#|
 |#|
 |#|
 |#|
 +-+, 0, 1]