Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 from __future__ import absolute_import | |
| 2 import sys | |
| 3 | |
| 4 if sys.version_info[0] < 3: | |
| 5 from Tkinter import * | |
| 6 from Tkinter import (_cnfmerge, _default_root, _flatten, _join, _setit, | |
| 7 _splitdict, _stringify, _support_default_root, _test, | |
| 8 _tkinter) | |
| 9 else: | |
| 10 raise ImportError('This package should not be accessible on Python 3. ' | |
| 11 'Either you are trying to run from the python-future src f older ' | |
| 12 'or your installation of python-future is corrupted.') | |
| OLD | NEW |