diff --git a/IPython/core/history.py b/IPython/core/history.py index 2abd7963fc..8cad849476 100644 --- a/IPython/core/history.py +++ b/IPython/core/history.py @@ -47,7 +47,7 @@ if TYPE_CHECKING: from IPython.core.interactiveshell import InteractiveShell - from IPython.config.Configuration import Configuration + from traitlets.config import Config as Configuration try: from sqlite3 import DatabaseError, OperationalError