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

Commit

Permalink
src/sage/rings/rational_field.py: Remove two more .all imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Jul 18, 2022
1 parent 7c732d3 commit 517980d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sage/rings/rational_field.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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):
Expand Down

0 comments on commit 517980d

Please sign in to comment.