summaryrefslogtreecommitdiff
path: root/blessings/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'blessings/__init__.py')
-rw-r--r--blessings/__init__.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/blessings/__init__.py b/blessings/__init__.py
index f5a65eb..813e2df 100644
--- a/blessings/__init__.py
+++ b/blessings/__init__.py
@@ -1,16 +1,18 @@
"""
-A thin, practical wrapper around terminal capabilities in Python
+A thin, practical wrapper around terminal capabilities in Python.
http://pypi.python.org/pypi/blessings
"""
+# std imports
import platform as _platform
+
+# local
+from blessings.terminal import Terminal
+
if ('3', '0', '0') <= _platform.python_version_tuple() < ('3', '2', '2+'):
# Good till 3.2.10
# Python 3.x < 3.2.3 has a bug in which tparm() erroneously takes a string.
raise ImportError('Blessings needs Python 3.2.3 or greater for Python 3 '
'support due to http://bugs.python.org/issue10570.')
-
-from .terminal import Terminal
-
__all__ = ['Terminal']