Skip to content

Commit e8dbfb2

Browse files
Fix typo in docs
maxcolwidth → maxcolwidths maxheadercolwidth → maxheadercolwidths
1 parent 74885be commit e8dbfb2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tabulate/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2214,7 +2214,7 @@ def tabulate(
22142214
Tabulate will, by default, set the width of each column to the length of the
22152215
longest element in that column. However, in situations where fields are expected
22162216
to reasonably be too long to look good as a single line, tabulate can help automate
2217-
word wrapping long fields for you. Use the parameter `maxcolwidth` to provide a
2217+
word wrapping long fields for you. Use the parameter `maxcolwidths` to provide a
22182218
list of maximal column widths
22192219
22202220
>>> print(tabulate( \
@@ -2232,7 +2232,7 @@ def tabulate(
22322232
| | | better if it is wrapped a bit |
22332233
+------------+------------+-------------------------------+
22342234
2235-
Header column width can be specified in a similar way using `maxheadercolwidth`
2235+
Header column width can be specified in a similar way using `maxheadercolwidths`.
22362236
22372237
"""
22382238

0 commit comments

Comments
 (0)