Skip to content

Commit b63cff6

Browse files
author
Matthias Koeppe
committed
src/sage/topology/filtered_simplicial_complex.py: Use lazy_import
1 parent 2273fca commit b63cff6

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

src/sage/topology/filtered_simplicial_complex.py

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -83,13 +83,15 @@
8383
# https://www.gnu.org/licenses/
8484
# ****************************************************************************
8585

86-
from sage.structure.sage_object import SageObject
87-
from sage.topology.simplicial_complex import Simplex, SimplicialComplex
88-
from sage.modules.free_module import FreeModule
89-
from sage.rings.finite_rings.finite_field_constructor import GF
86+
from sage.misc.cachefunc import cached_method
87+
from sage.misc.lazy_import import lazy_import
9088
from sage.rings.integer import Integer
9189
from sage.rings.infinity import infinity
92-
from sage.misc.cachefunc import cached_method
90+
from sage.structure.sage_object import SageObject
91+
from sage.topology.simplicial_complex import Simplex, SimplicialComplex
92+
93+
lazy_import('sage.modules.free_module', 'FreeModule')
94+
lazy_import('sage.rings.finite_rings.finite_field_constructor', 'GF')
9395

9496

9597
class FilteredSimplicialComplex(SageObject):

0 commit comments

Comments
 (0)