Skip to content

Commit 4496c0d

Browse files
committed
adjust for comments
1 parent 5baef2d commit 4496c0d

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

doc/source/whatsnew/v0.25.0.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ approach to naming the output of column-specific aggregations (:ref:`whatsnew_02
6161
See :ref:`_groupby.aggregate.named` for more.
6262

6363

64-
.. _whatsnew_0240.enhancements.multi_index_repr:
64+
.. _whatsnew_0250.enhancements.multi_index_repr:
6565

6666
Better repr for MultiIndex
6767
^^^^^^^^^^^^^^^^^^^^^^^^^^

pandas/io/formats/printing.py

+6-6
Original file line numberDiff line numberDiff line change
@@ -285,9 +285,9 @@ def format_object_summary(obj, formatter, is_justify=True, name=None,
285285
line_break_each_value : bool, default False
286286
If True, inserts a line break for each value of ``obj``.
287287
If False, only break lines when the a line of values gets wider
288-
than the display width
288+
than the display width.
289289
290-
.. versionadded:: 0.24.0
290+
.. versionadded:: 0.25.0
291291
292292
Returns
293293
-------
@@ -433,8 +433,7 @@ def best_len(values):
433433

434434
def _justify(head, tail):
435435
"""
436-
Justify each item in each list-like in head and tail, so each item
437-
right-aligns when the two list-likes are stacked vertically.
436+
Justify items in head and tail, so they are right-aligned when stacked.
438437
439438
Parameters
440439
----------
@@ -443,8 +442,9 @@ def _justify(head, tail):
443442
444443
Returns
445444
-------
446-
head : list of tuples of strings
447-
tail : list of tuples of strings
445+
tuple of list of tuples of strings
446+
Same as head and tail, but items are right aligned when stacked
447+
vertically.
448448
449449
Examples
450450
--------

0 commit comments

Comments
 (0)