From 0640ccb372498c2dc613b8b63aca7dfca3d5f0a5 Mon Sep 17 00:00:00 2001 From: Tim Paine <3105306+timkpaine@users.noreply.github.com> Date: Thu, 10 Oct 2024 21:18:37 -0700 Subject: [PATCH] move deprecated usage in sphinx.util --- sphinxcontrib/mermaid/autoclassdiag.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sphinxcontrib/mermaid/autoclassdiag.py b/sphinxcontrib/mermaid/autoclassdiag.py index 5f4f99d..35cc7f6 100644 --- a/sphinxcontrib/mermaid/autoclassdiag.py +++ b/sphinxcontrib/mermaid/autoclassdiag.py @@ -1,6 +1,7 @@ import inspect -from sphinx.util import ExtensionError, import_object +from sphinx.errors import ExtensionError +from sphinx.util import import_object from .exceptions import MermaidError