__init__.py 349 B

123456789
  1. from __future__ import absolute_import
  2. import sys
  3. if sys.version_info[0] < 3:
  4. from repr import *
  5. else:
  6. raise ImportError('This package should not be accessible on Python 3. '
  7. 'Either you are trying to run from the python-future src folder '
  8. 'or your installation of python-future is corrupted.')