about summary refs log tree commit diff
path: root/.venv/lib/python3.12/site-packages/lxml/html/clean.py
diff options
context:
space:
mode:
Diffstat (limited to '.venv/lib/python3.12/site-packages/lxml/html/clean.py')
-rw-r--r--.venv/lib/python3.12/site-packages/lxml/html/clean.py21
1 files changed, 21 insertions, 0 deletions
diff --git a/.venv/lib/python3.12/site-packages/lxml/html/clean.py b/.venv/lib/python3.12/site-packages/lxml/html/clean.py
new file mode 100644
index 00000000..d4b9e96d
--- /dev/null
+++ b/.venv/lib/python3.12/site-packages/lxml/html/clean.py
@@ -0,0 +1,21 @@
+# cython: language_level=3str
+
+"""Backward-compatibility module for lxml_html_clean"""
+
+try:
+    from lxml_html_clean import *
+
+    __all__ = [
+        "clean_html",
+        "clean",
+        "Cleaner",
+        "autolink",
+        "autolink_html",
+        "word_break",
+        "word_break_html",
+    ]
+except ImportError:
+    raise ImportError(
+        "lxml.html.clean module is now a separate project lxml_html_clean.\n"
+        "Install lxml[html_clean] or lxml_html_clean directly."
+    ) from None