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/py2/html/parser.py | |
parent | 2d3a301d3ebf901baec1fdbc0fc5c6adf2683eaa (diff) | |
download | ydb-c61b1fabd502ba5dae5085785cb56e4ec724527b.tar.gz |
Split future on py2/py3
Diffstat (limited to 'contrib/python/future/py2/html/parser.py')
-rw-r--r-- | contrib/python/future/py2/html/parser.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/contrib/python/future/py2/html/parser.py b/contrib/python/future/py2/html/parser.py new file mode 100644 index 00000000000..e39488797eb --- /dev/null +++ b/contrib/python/future/py2/html/parser.py @@ -0,0 +1,8 @@ +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 * |