diff options
Diffstat (limited to 'blessings/__init__.py')
-rw-r--r-- | blessings/__init__.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/blessings/__init__.py b/blessings/__init__.py index 810d367..9e10ebc 100644 --- a/blessings/__init__.py +++ b/blessings/__init__.py @@ -14,7 +14,6 @@ except ImportError: ``io.UnsupportedOperation`` in Python 2""" from os import isatty, environ -from platform import python_version_tuple import struct import sys from termios import TIOCGWINSZ @@ -23,13 +22,6 @@ from termios import TIOCGWINSZ __all__ = ['Terminal'] -if ('3', '0', '0') <= 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.') - - class Terminal(object): """An abstraction around terminal capabilities |