diff --git a/src/sage/rings/polynomial/multi_polynomial_ideal.py b/src/sage/rings/polynomial/multi_polynomial_ideal.py index 70f21387412..aa3933bf579 100644 --- a/src/sage/rings/polynomial/multi_polynomial_ideal.py +++ b/src/sage/rings/polynomial/multi_polynomial_ideal.py @@ -232,8 +232,8 @@ # https://www.gnu.org/licenses/ # **************************************************************************** -from sage.interfaces.all import (singular as singular_default, - magma as magma_default) +from sage.interfaces.singular import singular as singular_default +from sage.interfaces.magma import magma as magma_default from sage.interfaces.expect import StdOutContext diff --git a/src/sage/schemes/elliptic_curves/ell_rational_field.py b/src/sage/schemes/elliptic_curves/ell_rational_field.py index 62740ea7089..fefcee82307 100644 --- a/src/sage/schemes/elliptic_curves/ell_rational_field.py +++ b/src/sage/schemes/elliptic_curves/ell_rational_field.py @@ -473,7 +473,7 @@ def mwrank(self, options=''): if not options: from sage.interfaces.mwrank import mwrank else: - from sage.interfaces.all import Mwrank + from sage.interfaces.mwrank import Mwrank mwrank = Mwrank(options=options) return mwrank(list(self.a_invariants()))