Skip to content
Snippets Groups Projects
Commit b0e19ef0 authored by Matthias Diener's avatar Matthias Diener
Browse files

added alignment doc

parent ed1031a6
No related branches found
No related tags found
No related merge requests found
...@@ -1486,6 +1486,13 @@ a_star = MovedFunctionDeprecationWrapper(a_star_moved) ...@@ -1486,6 +1486,13 @@ a_star = MovedFunctionDeprecationWrapper(a_star_moved)
class Table: class Table:
"""An ASCII table generator. """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:: add_row
.. automethod:: __str__ .. automethod:: __str__
.. automethod:: latex .. automethod:: latex
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment