diff --git a/pytools/__init__.py b/pytools/__init__.py index fd915f3be06042c9649a6435f7e769afe739eb3d..8956a7325bb8c8e004274ab1b3b27c7d55f11aff 100644 --- a/pytools/__init__.py +++ b/pytools/__init__.py @@ -1486,6 +1486,13 @@ a_star = MovedFunctionDeprecationWrapper(a_star_moved) class Table: """An ASCII table generator. + :arg alignments: List of alignments of each column ('l', 'c', or 'r', + for left, center, and right alignment, respectively). Currently only used + by the `github_markdown` output formatter. Columns which have no alignment + specifier will use the last specified alignment. For example, with + `alignments=['l', 'r']`, the third and all following columns will use 'r' + alignment. + .. automethod:: add_row .. automethod:: __str__ .. automethod:: latex