Skip to content

Commit 8e7b4de

Browse files
committed
fix mypy
1 parent 43a1c61 commit 8e7b4de

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sphinx/builders/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@
2424
from sphinx.locale import __
2525
from sphinx.util import (
2626
get_filetype,
27-
import_object,
2827
logging,
2928
rst,
3029
)
30+
from sphinx.util._importer import import_object
3131
from sphinx.util._pathlib import _StrPathProperty
3232
from sphinx.util.build_phase import BuildPhase
3333
from sphinx.util.display import progress_message, status_iterator

sphinx/search/ja.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535

3636
from sphinx.errors import ExtensionError, SphinxError
3737
from sphinx.search import SearchLanguage
38-
from sphinx.util import import_object
38+
from sphinx.util._importer import import_object
3939

4040

4141
class BaseSplitter:

0 commit comments

Comments
 (0)