Skip to content

Commit e0d34c8

Browse files
committed
adjust for comments
1 parent eed76c1 commit e0d34c8

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
@@ -19,7 +19,7 @@ These are the changes in pandas 0.25.0. See :ref:`release` for a full changelog
1919
including other versions of pandas.
2020

2121

22-
.. _whatsnew_0240.enhancements.multi_index_repr:
22+
.. _whatsnew_0250.enhancements.multi_index_repr:
2323

2424
Better repr for MultiIndex
2525
^^^^^^^^^^^^^^^^^^^^^^^^^^

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)