From 517980d4a84d7309843c3ec72f9dee0e8a1e20b0 Mon Sep 17 00:00:00 2001 From: Matthias Koeppe Date: Sun, 17 Jul 2022 22:29:34 -0700 Subject: [PATCH] src/sage/rings/rational_field.py: Remove two more .all imports --- src/sage/rings/rational_field.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sage/rings/rational_field.py b/src/sage/rings/rational_field.py index d4dac6aca19..dc457eccf6d 100644 --- a/src/sage/rings/rational_field.py +++ b/src/sage/rings/rational_field.py @@ -540,7 +540,7 @@ def primes_of_bounded_norm_iter(self, B): if B < 2: return - from sage.arith.all import primes + from sage.arith.misc import primes for p in primes(B+1): yield p @@ -1071,7 +1071,7 @@ def extension(self, poly, names, **kwds): sage: a^3 -5 """ - from sage.rings.number_field.all import NumberField + from sage.rings.number_field.number_field import NumberField return NumberField(poly, names=names, **kwds) def algebraic_closure(self):