aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/future/py2/html/parser.py
diff options
context:
space:
mode:
authorshadchin <shadchin@yandex-team.com>2023-10-10 17:45:43 +0300
committershadchin <shadchin@yandex-team.com>2023-10-10 18:17:04 +0300
commitc61b1fabd502ba5dae5085785cb56e4ec724527b (patch)
tree5c988002f744a6897d2bd2be8daac8661bcea22c /contrib/python/future/py2/html/parser.py
parent2d3a301d3ebf901baec1fdbc0fc5c6adf2683eaa (diff)
downloadydb-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.py8
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 *