From b0e19ef08250cf76e4de394e433b28b20416bb2c Mon Sep 17 00:00:00 2001 From: Matthias Diener <mdiener@illinois.edu> Date: Mon, 24 Aug 2020 22:49:59 -0500 Subject: [PATCH] added alignment doc --- pytools/__init__.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pytools/__init__.py b/pytools/__init__.py index fd915f3..8956a73 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 -- GitLab