diff options
author | shadchin <shadchin@yandex-team.com> | 2023-10-10 17:45:43 +0300 |
---|---|---|
committer | shadchin <shadchin@yandex-team.com> | 2023-10-10 18:17:04 +0300 |
commit | c61b1fabd502ba5dae5085785cb56e4ec724527b (patch) | |
tree | 5c988002f744a6897d2bd2be8daac8661bcea22c /contrib/python/future/html | |
parent | 2d3a301d3ebf901baec1fdbc0fc5c6adf2683eaa (diff) | |
download | ydb-c61b1fabd502ba5dae5085785cb56e4ec724527b.tar.gz |
Split future on py2/py3
Diffstat (limited to 'contrib/python/future/html')
-rw-r--r-- | contrib/python/future/html/__init__.py | 9 | ||||
-rw-r--r-- | contrib/python/future/html/entities.py | 7 | ||||
-rw-r--r-- | contrib/python/future/html/parser.py | 8 |
3 files changed, 0 insertions, 24 deletions
diff --git a/contrib/python/future/html/__init__.py b/contrib/python/future/html/__init__.py deleted file mode 100644 index e957e745708..00000000000 --- a/contrib/python/future/html/__init__.py +++ /dev/null @@ -1,9 +0,0 @@ -from __future__ import absolute_import -import sys - -if sys.version_info[0] < 3: - from future.moves.html import * -else: - raise ImportError('This package should not be accessible on Python 3. ' - 'Either you are trying to run from the python-future src folder ' - 'or your installation of python-future is corrupted.') diff --git a/contrib/python/future/html/entities.py b/contrib/python/future/html/entities.py deleted file mode 100644 index 211649e5313..00000000000 --- a/contrib/python/future/html/entities.py +++ /dev/null @@ -1,7 +0,0 @@ -from __future__ import absolute_import -from future.utils import PY3 - -if PY3: - from html.entities import * -else: - from future.moves.html.entities import * diff --git a/contrib/python/future/html/parser.py b/contrib/python/future/html/parser.py deleted file mode 100644 index e39488797eb..00000000000 --- a/contrib/python/future/html/parser.py +++ /dev/null @@ -1,8 +0,0 @@ -from __future__ import absolute_import -import sys -__future_module__ = True - -if sys.version_info[0] >= 3: - raise ImportError('Cannot import module from python-future source folder') -else: - from future.moves.html.parser import * |