Skip to content

Commit 10d2e1c

Browse files
author
Matthias Koeppe
committed
git grep -l 'GCD as gcd' src/sage/{algebras,combinat,matroids} | xargs sed -i.bak 's/GCD as gcd/gcd/'
1 parent ed1ee83 commit 10d2e1c

File tree

9 files changed

+9
-9
lines changed

9 files changed

+9
-9
lines changed

src/sage/algebras/quatalg/quaternion_algebra.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
from sage.arith.misc import (hilbert_conductor_inverse,
3939
hilbert_conductor,
4040
factor,
41-
GCD as gcd,
41+
gcd,
4242
kronecker as kronecker_symbol,
4343
valuation)
4444
from sage.rings.real_mpfr import RR

src/sage/combinat/ncsf_qsym/qsym.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3688,7 +3688,7 @@ def _precompute_M(self, n):
36883688
M = self.realization_of().M()
36893689
if l <= n:
36903690
from sage.misc.cachefunc import cached_function
3691-
from sage.arith.misc import GCD as gcd
3691+
from sage.arith.misc import gcd
36923692

36933693
@cached_function
36943694
def monolambda(I):

src/sage/combinat/necklace.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
# https://www.gnu.org/licenses/
2323
# ****************************************************************************
2424

25-
from sage.arith.misc import divisors, euler_phi, factorial, GCD as gcd
25+
from sage.arith.misc import divisors, euler_phi, factorial, gcd
2626
from sage.categories.finite_enumerated_sets import FiniteEnumeratedSets
2727
from sage.combinat.composition import Composition
2828
from sage.combinat.misc import DoublyLinkedList

src/sage/combinat/partition.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@
283283
from copy import copy
284284
from itertools import accumulate
285285

286-
from sage.arith.misc import binomial, factorial, GCD as gcd, multinomial
286+
from sage.arith.misc import binomial, factorial, gcd, multinomial
287287
from sage.libs.pari.all import pari
288288
from sage.libs.flint.arith import number_of_partitions as flint_number_of_partitions
289289
from sage.structure.global_options import GlobalOptions

src/sage/combinat/sf/jack.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
import sage.categories.all
3434
from sage.rings.integer import Integer
3535
from sage.rings.rational_field import QQ
36-
from sage.arith.misc import GCD as gcd
36+
from sage.arith.misc import gcd
3737
from sage.arith.functions import lcm
3838
from sage.rings.fraction_field import is_FractionField
3939
from sage.misc.misc_c import prod

src/sage/combinat/sf/sfa.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4711,7 +4711,7 @@ def arithmetic_product(self, x):
47114711
parent = self.parent()
47124712
if parent.has_coerce_map_from(QQ):
47134713
from sage.combinat.partition import Partition
4714-
from sage.arith.misc import GCD as gcd
4714+
from sage.arith.misc import gcd
47154715
from sage.arith.functions import lcm
47164716
from itertools import product, repeat, chain
47174717
p = parent.realization_of().power()

src/sage/combinat/tamari_lattices.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
# ****************************************************************************
4949
from __future__ import annotations
5050
from sage.combinat.posets.lattices import LatticePoset, MeetSemilattice
51-
from sage.arith.misc import GCD as gcd
51+
from sage.arith.misc import gcd
5252

5353

5454
def paths_in_triangle(i, j, a, b) -> list[tuple[int, ...]]:

src/sage/combinat/words/lyndon_word.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# https://www.gnu.org/licenses/
1313
# ****************************************************************************
1414

15-
from sage.arith.misc import divisors, GCD as gcd, moebius, multinomial
15+
from sage.arith.misc import divisors, gcd, moebius, multinomial
1616
from sage.combinat.combinat_cython import lyndon_word_iterator
1717
from sage.combinat.composition import Composition, Compositions
1818
from sage.combinat.necklace import _sfc

src/sage/combinat/words/word_generators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
from sage.combinat.words.finite_word import FiniteWord_class, Factorization
6767
from sage.combinat.words.words import FiniteWords, InfiniteWords
6868
from sage.combinat.words.morphism import WordMorphism
69-
from sage.arith.misc import GCD as gcd
69+
from sage.arith.misc import gcd
7070
from sage.misc.decorators import rename_keyword
7171

7272

0 commit comments

Comments
 (0)