Skip to content

Commit eed801f

Browse files
Matthias Koeppedimpase
Matthias Koeppe
authored andcommitted
git grep -l 'GCD as gcd' src/sage/{coding,groups} | xargs sed -i.bak 's/GCD as gcd/gcd/'
1 parent 477e601 commit eed801f

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/sage/coding/bch_code.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
from sage.modules.free_module_element import vector
2828
from sage.misc.misc_c import prod
2929
from sage.categories.fields import Fields
30-
from sage.arith.misc import GCD as gcd
30+
from sage.arith.misc import gcd
3131
from sage.rings.finite_rings.integer_mod_ring import IntegerModRing as Zmod
3232

3333
from .cyclic_code import CyclicCode

src/sage/coding/code_constructions.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
# https://www.gnu.org/licenses/
4141
# ****************************************************************************
4242

43-
from sage.arith.misc import GCD as gcd, quadratic_residues
43+
from sage.arith.misc import gcd, quadratic_residues
4444
from sage.matrix.constructor import matrix
4545
from sage.matrix.matrix_space import MatrixSpace
4646
from sage.matrix.special import random_matrix

src/sage/coding/cyclic_code.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
from copy import copy
4242
from sage.rings.integer import Integer
4343
from sage.categories.homset import Hom
44-
from sage.arith.misc import GCD as gcd
44+
from sage.arith.misc import gcd
4545
from sage.modules.free_module_element import vector
4646
from sage.matrix.constructor import matrix
4747
from sage.misc.cachefunc import cached_method

src/sage/groups/abelian_gps/abelian_group.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@
203203
# ****************************************************************************
204204

205205
from sage.arith.functions import lcm
206-
from sage.arith.misc import divisors, GCD as gcd
206+
from sage.arith.misc import divisors, gcd
207207
from sage.categories.groups import Groups
208208
from sage.groups.abelian_gps.abelian_group_element import AbelianGroupElement
209209
from sage.groups.group import AbelianGroup as AbelianGroupBase

0 commit comments

Comments
 (0)