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

Commit

Permalink
Fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Dec 18, 2022
1 parent bd534cb commit 6b1c674
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion src/sage/combinat/parallelogram_polyomino.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
from sage.combinat.combinat import catalan_number
from sage.combinat.combinatorial_map import combinatorial_map
from sage.misc.lazy_import import lazy_import
lazy_import("sage.functions.trig", "cos", "sin")
lazy_import("sage.functions.trig", ["cos", "sin"])
from sage.misc.functional import sqrt

from sage.misc.lazy_import import lazy_import
Expand Down
6 changes: 3 additions & 3 deletions src/sage/combinat/sine_gordon.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,20 +47,20 @@
from sage.rings.real_mpfr import RR
from sage.rings.semirings.non_negative_integer_semiring import NN
from sage.misc.lazy_import import lazy_import
lazy_import("sage.functions.trig", "cos", "sin")
lazy_import("sage.functions.trig", ["cos", "sin"])
lazy_import("sage.plot.plot", "parametric_plot")
lazy_import("sage.plot.graphics", "Graphics")
lazy_import("sage.plot.polygon", "polygon2d")
lazy_import("sage.plot.circle", "circle")
lazy_import("sage.plot.bezier_path", "bezier_path")
lazy_import("sage.plot.point", "point")
lazy_import("sage.plot.line", "line")
lazy_import("sage.symbolic.constants", "pi", "I")
lazy_import("sage.symbolic.constants", ["pi", "I"])
lazy_import("sage.functions.log", "exp")
lazy_import("sage.functions.other", "ceil")
from sage.misc.flatten import flatten
lazy_import("sage.symbolic.ring", "SR")
lazy_import("sage.functions.other", "real_part", "imag_part")
lazy_import("sage.functions.other", ["real_part", "imag_part"])
from sage.misc.cachefunc import cached_method


Expand Down
4 changes: 2 additions & 2 deletions src/sage/interfaces/tides.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@
from sage.misc.flatten import flatten
from sage.ext.fast_callable import fast_callable
from sage.rings.semirings.non_negative_integer_semiring import NN
lazy_import("sage.functions.log", "log", "exp")
lazy_import("sage.functions.other", "floor", "ceil")
lazy_import("sage.functions.log", ["log", "exp"])
lazy_import("sage.functions.other", ["floor", "ceil"])
from sage.misc.functional import sqrt


Expand Down
2 changes: 1 addition & 1 deletion src/sage/modular/hypergeometric_motive.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
from sage.misc.lazy_import import lazy_import
lazy_import("sage.functions.generalized", "sgn")
lazy_import("sage.functions.log", "log")
lazy_import("sage.functions.other", "floor", "ceil")
lazy_import("sage.functions.other", ["floor", "ceil"])
from sage.misc.cachefunc import cached_method
from sage.misc.functional import cyclotomic_polynomial
from sage.misc.misc_c import prod
Expand Down
2 changes: 1 addition & 1 deletion src/sage/plot/plot3d/plot3d.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ def f(x,y): return math.exp(x/5)*math.cos(y)
from .texture import Texture

from sage.misc.lazy_import import lazy_import
lazy_import("sage.functions.trig", "cos", "sin")
lazy_import("sage.functions.trig", ["cos", "sin"])
from sage.misc.sageinspect import sage_getargspec, is_function_or_cython_function


Expand Down
2 changes: 1 addition & 1 deletion src/sage/quadratic_forms/special_values.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
from sage.rings.rational_field import QQ
import sage.rings.abc
from sage.misc.lazy_import import lazy_import
lazy_import("sage.symbolic.constants", "pi", "I")
lazy_import("sage.symbolic.constants", ["pi", "I"])

# ---------------- The Gamma Function ------------------

Expand Down
2 changes: 1 addition & 1 deletion src/sage/rings/polynomial/binary_form_reduce.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

from sage.misc.lazy_import import lazy_import
lazy_import("sage.calculus.functions", "jacobian")
lazy_import("sage.functions.hyperbolic", "cosh", "sinh")
lazy_import("sage.functions.hyperbolic", ["cosh", "sinh"])
lazy_import("sage.functions.log", "exp")
from sage.matrix.constructor import matrix
from sage.misc.misc_c import prod
Expand Down
2 changes: 1 addition & 1 deletion src/sage/sandpiles/sandpile.py
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@
from sage.rings.integer_ring import ZZ
from sage.rings.polynomial.polynomial_ring_constructor import PolynomialRing
from sage.rings.rational_field import QQ
lazy_import("sage.symbolic.constants", "I", "pi")
lazy_import("sage.symbolic.constants", ["I", "pi"])
lazy_import("sage.symbolic.ring", "SR")
from sage.features.four_ti_2 import FourTi2Executable
lazy_import("sage.plot.colors", "rainbow")
Expand Down
2 changes: 1 addition & 1 deletion src/sage/schemes/affine/affine_space.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# ****************************************************************************

from sage.misc.lazy_import import lazy_import
lazy_import("sage.functions.orthogonal_polys", "chebyshev_T", "chebyshev_U")
lazy_import("sage.functions.orthogonal_polys", ["chebyshev_T", "chebyshev_U"])
from sage.rings.integer import Integer
from sage.rings.integer_ring import ZZ
from sage.rings.polynomial.polynomial_ring_constructor import PolynomialRing
Expand Down

0 comments on commit 6b1c674

Please sign in to comment.