Skip to content

Commit 6cceac9

Browse files
author
Matthias Koeppe
committed
src/sage/rings/polynomial: Consolidate some imports from the same module
1 parent f1b7dc1 commit 6cceac9

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

src/sage/rings/polynomial/polynomial_element.pyx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,10 +116,8 @@ from sage.structure.category_object cimport normalize_names
116116

117117
from sage.misc.derivative import multi_derivative
118118

119-
from sage.arith.misc import sort_complex_numbers_for_display
120-
from sage.arith.misc import power_mod
119+
from sage.arith.misc import sort_complex_numbers_for_display, power_mod, is_prime
121120
from sage.arith.functions import lcm
122-
from sage.arith.misc import is_prime
123121

124122
from . import polynomial_fateman
125123

src/sage/rings/polynomial/toy_d_basis.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,8 @@
116116
- Martin Albrecht (2008-08): initial version
117117
"""
118118
from sage.rings.integer_ring import ZZ
119-
from sage.arith.misc import XGCD as xgcd
120119
from sage.arith.functions import lcm
121-
from sage.arith.misc import GCD as gcd
120+
from sage.arith.misc import XGCD as xgcd, GCD as gcd
122121
from sage.rings.polynomial.toy_buchberger import inter_reduction
123122
from sage.structure.sequence import Sequence
124123

0 commit comments

Comments
 (0)