File tree Expand file tree Collapse file tree 2 files changed +11
-8
lines changed
src/sage/combinat/species Expand file tree Collapse file tree 2 files changed +11
-8
lines changed Original file line number Diff line number Diff line change 53
53
from sage .rings .lazy_series_ring import LazyPowerSeriesRing , LazySymmetricFunctions
54
54
from sage .rings .integer import Integer
55
55
from sage .rings .rational_field import QQ
56
- from sage .arith .misc import divisors
56
+ from sage .arith .misc import divisors , factorial
57
57
from sage .combinat .partition import Partition , Partitions
58
- from sage .combinat .sf .sf import SymmetricFunctions
59
58
from sage .misc .cachefunc import cached_function
60
- from sage .arith .misc import factorial
59
+ from sage .misc .lazy_import import lazy_import
60
+
61
+ lazy_import ('sage.combinat.sf.sf' , 'SymmetricFunctions' )
61
62
62
63
63
64
class OrdinaryGeneratingSeries (LazyPowerSeries ):
Original file line number Diff line number Diff line change 17
17
# http://www.gnu.org/licenses/
18
18
#*****************************************************************************
19
19
20
- from sage .groups .perm_gps .permgroup import PermutationGroup
21
- from sage .groups .perm_gps .permgroup import PermutationGroup_generic
22
- from sage .groups .perm_gps .constructor import PermutationGroupElement
23
- from sage .groups .perm_gps .permgroup_named import SymmetricGroup
24
- from sage .misc .misc_c import prod
25
20
from functools import wraps
26
21
22
+ from sage .misc .misc_c import prod
23
+ from sage .misc .lazy_import import lazy_import
24
+
25
+ lazy_import ('sage.groups.perm_gps.permgroup' , ['PermutationGroup' , 'PermutationGroup_generic' ])
26
+ lazy_import ('sage.groups.perm_gps.constructor' , 'PermutationGroupElement' )
27
+ lazy_import ('sage.groups.perm_gps.permgroup_named' , 'SymmetricGroup' )
28
+
27
29
28
30
def change_support (perm , support , change_perm = None ):
29
31
"""
You can’t perform that action at this time.
0 commit comments