summaryrefslogtreecommitdiff
path: root/blessed/__init__.py
blob: 3622d0ec299195b597c6eb1c8536a9889d47d58c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
"""
A thin, practical wrapper around terminal capabilities in Python

http://pypi.python.org/pypi/blessings
"""
import platform as _platform
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',)