Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
src/sage/manifolds/differentiable/degenerate_submanifold.py: Conditio…
Browse files Browse the repository at this point in the history
…nalize an import with 'if TYPE_CHECKING:'
  • Loading branch information
Matthias Koeppe committed Mar 28, 2022
1 parent ba751f1 commit 3beb020
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/sage/manifolds/differentiable/degenerate_submanifold.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,18 +156,22 @@
# https://www.gnu.org/licenses/
# *****************************************************************************

from __future__ import annotations
from typing import TYPE_CHECKING

from sage.manifolds.differentiable.pseudo_riemannian import \
PseudoRiemannianManifold
from sage.manifolds.differentiable.degenerate import (DegenerateManifold,
TangentTensor)
from sage.manifolds.differentiable.differentiable_submanifold import \
DifferentiableSubmanifold
from sage.manifolds.differentiable.metric import DegenerateMetric
from sage.manifolds.differentiable.vectorfield_module import VectorFieldModule
from sage.rings.infinity import infinity
from sage.matrix.constructor import matrix
from sage.symbolic.expression import Expression

if TYPE_CHECKING:
from sage.manifolds.differentiable.metric import DegenerateMetric

class DegenerateSubmanifold(DegenerateManifold, DifferentiableSubmanifold):
r"""
Expand Down

0 comments on commit 3beb020

Please sign in to comment.