Skip to content

Commit 486508d

Browse files
author
Matthias Koeppe
committed
Replace relative imports in Cython files
1 parent 1a50a80 commit 486508d

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/sage/libs/gap/element.pyx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ from cpython.object cimport Py_EQ, Py_NE, Py_LE, Py_GE, Py_LT, Py_GT
1919
from cysignals.signals cimport sig_on, sig_off
2020

2121
from sage.libs.gap.gap_includes cimport *
22-
from .libgap import libgap
22+
from sage.libs.gap.libgap import libgap
2323
from sage.libs.gap.util cimport *
24-
from .util import GAPError
24+
from sage.libs.gap.util import GAPError
2525
from sage.cpython.string cimport str_to_bytes, char_to_str
2626
from sage.rings.integer_ring import ZZ
2727
from sage.rings.rational_field import QQ

src/sage/libs/gap/util.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ cdef initialize() noexcept:
240240
argv[11] = s1
241241
argv[4] = s1
242242

243-
from .saved_workspace import workspace
243+
from sage.libs.gap.saved_workspace import workspace
244244
workspace, workspace_is_up_to_date = workspace()
245245
ws = str_to_bytes(workspace, FS_ENCODING, "surrogateescape")
246246
if workspace_is_up_to_date:

src/sage/libs/mpmath/ext_libmp.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ from sage.libs.mpmath.ext_impl cimport *
55
from sage.libs.gmp.all cimport *
66

77
# the next line is used by mpmath
8-
from .ext_impl import exp_fixed, cos_sin_fixed, log_int_fixed
8+
from sage.libs.mpmath.ext_impl import exp_fixed, cos_sin_fixed, log_int_fixed
99

1010
# Note: not thread-safe
1111
cdef MPF tmp1

0 commit comments

Comments
 (0)