Skip to content

Commit 1556681

Browse files
committed
adjust for comments
1 parent ea17794 commit 1556681

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
@@ -291,9 +291,9 @@ def format_object_summary(obj, formatter, is_justify=True, name=None,
291291
line_break_each_value : bool, default False
292292
If True, inserts a line break for each value of ``obj``.
293293
If False, only break lines when the a line of values gets wider
294-
than the display width
294+
than the display width.
295295
296-
.. versionadded:: 0.24.0
296+
.. versionadded:: 0.25.0
297297
298298
Returns
299299
-------
@@ -439,8 +439,7 @@ def best_len(values):
439439

440440
def _justify(head, tail):
441441
"""
442-
Justify each item in each list-like in head and tail, so each item
443-
right-aligns when the two list-likes are stacked vertically.
442+
Justify items in head and tail, so they are right-aligned when stacked.
444443
445444
Parameters
446445
----------
@@ -449,8 +448,9 @@ def _justify(head, tail):
449448
450449
Returns
451450
-------
452-
head : list of tuples of strings
453-
tail : list of tuples of strings
451+
tuple of list of tuples of strings
452+
Same as head and tail, but items are right aligned when stacked
453+
vertically.
454454
455455
Examples
456456
--------

0 commit comments

Comments
 (0)