Skip to content

Commit 97a363e

Browse files
author
Matthias Koeppe
committed
Fixups
1 parent 3be7c97 commit 97a363e

File tree

5 files changed

+6
-5
lines changed

5 files changed

+6
-5
lines changed

src/sage/interfaces/gap.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1743,7 +1743,7 @@ def intmod_gap_to_sage(x):
17431743
sage: b.parent()
17441744
Ring of integers modulo 65537
17451745
"""
1746-
from sage.rings.finite_rings.all import FiniteField
1746+
from sage.rings.finite_rings.finite_field_constructor import FiniteField
17471747
from sage.rings.finite_rings.integer_mod import Mod
17481748
from sage.rings.integer import Integer
17491749
s = str(x)

src/sage/rings/finite_rings/finite_field_base.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2119,7 +2119,7 @@ def is_FiniteField(R):
21192119
21202120
EXAMPLES::
21212121
2122-
sage: from sage.rings.finite_rings.finite_field_base import FiniteField
2122+
sage: from sage.rings.finite_rings.finite_field_base import is_FiniteField
21232123
sage: is_FiniteField(GF(9,'a'))
21242124
doctest:...: DeprecationWarning: the function is_FiniteField is deprecated; use isinstance(x, sage.rings.finite_rings.finite_field_base.FiniteField) instead
21252125
See https://trac.sagemath.org/32664 for details.

src/sage/rings/finite_rings/finite_field_ntl_gf2e.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ def late_import():
5252
import sage.rings.polynomial.polynomial_element
5353
is_Polynomial = sage.rings.polynomial.polynomial_element.is_Polynomial
5454

55+
5556
class FiniteField_ntl_gf2e(FiniteField):
5657
"""
5758
Finite Field of characteristic 2 and order `2^n`.

src/sage/rings/finite_rings/hom_prime_finite_field.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ from .hom_finite_field cimport SectionFiniteFieldHomomorphism_generic
3333
from .hom_finite_field cimport FiniteFieldHomomorphism_generic
3434
from .hom_finite_field cimport FrobeniusEndomorphism_finite_field
3535

36-
from sage.rings.finite_rings.finite_field_base import FiniteField, is_FiniteField
36+
from sage.rings.finite_rings.finite_field_base import FiniteField
3737
from sage.rings.morphism cimport RingHomomorphism_im_gens
3838

3939

src/sage/symbolic/ring.pyx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,8 +234,8 @@ cdef class SymbolicRing(sage.rings.abc.SymbolicRing):
234234
sage.rings.abc.ComplexIntervalField,
235235
sage.rings.abc.RealBallField,
236236
sage.rings.abc.ComplexBallField,
237-
sage.rings.abc.IntegerModRing))
238-
or isinstance(R, FiniteField)):
237+
sage.rings.abc.IntegerModRing,
238+
FiniteField))):
239239
return True
240240
elif isinstance(R, GenericSymbolicSubring):
241241
return True

0 commit comments

Comments
 (0)