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/manifold.py: Conditionalize imports with 'if TYPE_…
Browse files Browse the repository at this point in the history
…CHECKING:'
  • Loading branch information
Matthias Koeppe committed Mar 21, 2022
1 parent 5a92de8 commit 71138ff
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/sage/manifolds/manifold.py
Original file line number Diff line number Diff line change
Expand Up @@ -333,10 +333,6 @@
from sage.categories.fields import Fields
from sage.categories.homset import Hom
from sage.categories.manifolds import Manifolds
from sage.manifolds.chart import Chart
from sage.manifolds.differentiable.chart import RealDiffChart
from sage.manifolds.differentiable.scalarfield import DiffScalarField
from sage.manifolds.scalarfield import ScalarField
from sage.manifolds.structure import (
DifferentialStructure,
RealDifferentialStructure,
Expand All @@ -352,9 +348,13 @@
from sage.structure.global_options import GlobalOptions

if TYPE_CHECKING:
from sage.manifolds.chart import Chart
from sage.manifolds.continuous_map import ContinuousMap
from sage.manifolds.differentiable.chart import RealDiffChart
from sage.manifolds.differentiable.diff_map import DiffMap
from sage.manifolds.differentiable.manifold import DifferentiableManifold
from sage.manifolds.differentiable.scalarfield import DiffScalarField
from sage.manifolds.scalarfield import ScalarField


#############################################################################
Expand Down

0 comments on commit 71138ff

Please sign in to comment.