Skip to content

Commit 8ca340f

Browse files
DimitriPapadopoulosastanin
authored andcommitted
Fix typo in docs
maxcolwidth → maxcolwidths maxheadercolwidth → maxheadercolwidths
1 parent 4fa8639 commit 8ca340f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tabulate/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2246,8 +2246,8 @@ def tabulate(
22462246
Tabulate will, by default, set the width of each column to the length of the
22472247
longest element in that column. However, in situations where fields are expected
22482248
to reasonably be too long to look good as a single line, tabulate can help automate
2249-
word wrapping long fields for you. Use the parameter `maxcolwidth` to provide a
2250-
list of maximal column widths
2249+
word wrapping long fields for you. Use the parameter `maxcolwidths` to provide a
2250+
list of maximal column widths:
22512251
22522252
>>> print(tabulate( \
22532253
[('1', 'John Smith', \
@@ -2264,7 +2264,7 @@ def tabulate(
22642264
| | | better if it is wrapped a bit |
22652265
+------------+------------+-------------------------------+
22662266
2267-
Header column width can be specified in a similar way using `maxheadercolwidth`
2267+
Header column width can be specified in a similar way using `maxheadercolwidths`.
22682268
22692269
"""
22702270

0 commit comments

Comments
 (0)