From 607316f520d059c621fe081f1cece8d58cb4c989 Mon Sep 17 00:00:00 2001 From: Matthias Koeppe Date: Thu, 9 Dec 2021 16:35:49 -0800 Subject: [PATCH] Remove remaining imports from sage.interfaces.all --- src/sage/rings/polynomial/multi_polynomial_ideal.py | 4 ++-- src/sage/schemes/elliptic_curves/ell_rational_field.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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()))