From ca10dbdbcc96e8b012ba67222a36df64c17577e2 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Tue, 4 Aug 2020 18:19:28 +0200 Subject: [PATCH] Fix an import in Py3. --- src/lxml/html/ElementSoup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lxml/html/ElementSoup.py b/src/lxml/html/ElementSoup.py index 8e4fde13c..c35365d05 100644 --- a/src/lxml/html/ElementSoup.py +++ b/src/lxml/html/ElementSoup.py @@ -3,7 +3,7 @@ __all__ = ["parse", "convert_tree"] -from soupparser import convert_tree, parse as _parse +from .soupparser import convert_tree, parse as _parse def parse(file, beautifulsoup=None, makeelement=None): root = _parse(file, beautifulsoup=beautifulsoup, makeelement=makeelement)