summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sphinx/util/__init__.py2
-rw-r--r--sphinx/util/compat.py1
2 files changed, 1 insertions, 2 deletions
diff --git a/sphinx/util/__init__.py b/sphinx/util/__init__.py
index f31c34e18..d7dd6d95f 100644
--- a/sphinx/util/__init__.py
+++ b/sphinx/util/__init__.py
@@ -51,7 +51,7 @@ from sphinx.util.matching import patfilter # noqa
if False:
# For type annotation
from sphinx.application import Sphinx
- from sphinx.builders import Builder
+
logger = logging.getLogger(__name__)
diff --git a/sphinx/util/compat.py b/sphinx/util/compat.py
index 340dd77fa..4f756b0b0 100644
--- a/sphinx/util/compat.py
+++ b/sphinx/util/compat.py
@@ -15,7 +15,6 @@ from typing import Any, Dict
from docutils.utils import get_source_line
from sphinx import addnodes
-from sphinx.config import Config
from sphinx.deprecation import RemovedInSphinx40Warning
from sphinx.transforms import SphinxTransform