diff options
author | Brano Zarnovican <zarnovican@gmail.com> | 2017-09-29 15:15:41 +0200 |
---|---|---|
committer | Brano Zarnovican <zarnovican@gmail.com> | 2017-09-29 15:19:56 +0200 |
commit | a78ff9b04cd8ef5b3f79418d9a07e170e547db82 (patch) | |
tree | 04d6a31270ee8dc06d35e9fcb137070670ce5553 | |
parent | 6ebe4d4570fdf00ed7b21d9365ad83ff6a4cff61 (diff) | |
download | python-prettytable-ptable-a78ff9b04cd8ef5b3f79418d9a07e170e547db82.tar.gz |
Added PLAIN_COLUMNS to top namespace
Example from documentation works only for MSWORD_FRIENDLY style
> from prettytable import MSWORD_FRIENDLY # works
> from prettytable import PLAIN_COLUMNS # broken
This commit fixes import for PLAIN_COLUMNS style
-rw-r--r-- | prettytable/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/prettytable/__init__.py b/prettytable/__init__.py index ac2cb37..bef5807 100644 --- a/prettytable/__init__.py +++ b/prettytable/__init__.py @@ -33,5 +33,5 @@ __version__ = "0.9.2" from .prettytable import PrettyTable -from .prettytable import ALL, HEADER, MSWORD_FRIENDLY, NONE +from .prettytable import ALL, HEADER, MSWORD_FRIENDLY, NONE, PLAIN_COLUMNS from .factory import from_csv, from_db_cursor, from_html, from_html_one |