diff --git a/src/sage/manifolds/differentiable/degenerate.py b/src/sage/manifolds/differentiable/degenerate.py index 57828ad8dee..0fddd642e17 100644 --- a/src/sage/manifolds/differentiable/degenerate.py +++ b/src/sage/manifolds/differentiable/degenerate.py @@ -10,10 +10,15 @@ # https://www.gnu.org/licenses/ # ***************************************************************************** +from __future__ import annotations +from typing import TYPE_CHECKING + from sage.rings.infinity import infinity from sage.manifolds.structure import DegenerateStructure from sage.manifolds.differentiable.manifold import DifferentiableManifold -from sage.manifolds.differentiable.metric import DegenerateMetric + +if TYPE_CHECKING: + from sage.manifolds.differentiable.metric import DegenerateMetric ###############################################################################