Skip to content

Commit 7b70ad7

Browse files
author
Release Manager
committed
sagemathgh-40944: some missing capitals to proper nouns just adding a few capitals ### 📝 Checklist - [x] The title is concise and informative. - [x] The description explains in detail what this PR is about. URL: sagemath#40944 Reported by: Frédéric Chapoton Reviewer(s): Martin Rubey
2 parents f7a8f20 + c1c2b35 commit 7b70ad7

File tree

5 files changed

+16
-16
lines changed

5 files changed

+16
-16
lines changed

src/sage/calculus/calculus.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2256,8 +2256,8 @@ def dummy_integrate(*args):
22562256

22572257
def dummy_laplace(*args):
22582258
"""
2259-
This function is called to create formal wrappers of laplace transforms
2260-
that Maxima can't compute:
2259+
This function is called to create formal wrappers of Laplace transforms
2260+
that Maxima cannot compute:
22612261
22622262
EXAMPLES::
22632263

src/sage/graphs/graph.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3088,7 +3088,7 @@ def is_chordal_bipartite(self, certificate=False):
30883088
pewveo.extend(certif)
30893089
return True, pewveo
30903090
return all(gg.is_chordal_bipartite() for gg in
3091-
self.connected_components_subgraphs())
3091+
self.connected_components_subgraphs())
30923092

30933093
left = [v for v, c in bipartite_certificate.items() if c == 0]
30943094
right = [v for v, c in bipartite_certificate.items() if c == 1]
@@ -3756,8 +3756,8 @@ def summand(stack, dsf, sizes):
37563756
# edges in stack to current subgraph.
37573757
if not stack:
37583758
return p.monomial(_Partitions(sorted(
3759-
[s for v, s in sizes.items() if dsf[v] is None],
3760-
reverse=True)))
3759+
[s for v, s in sizes.items() if dsf[v] is None],
3760+
reverse=True)))
37613761
ret = p.zero()
37623762
e = stack.pop()
37633763
u = find(dsf, e[0])
@@ -7732,7 +7732,7 @@ def modular_decomposition(self, algorithm=None, style="tuple"):
77327732
PARALLEL[5[], 6[], 7[]]]
77337733
"""
77347734
from sage.graphs.graph_decompositions.modular_decomposition import \
7735-
modular_decomposition
7735+
modular_decomposition
77367736

77377737
D = modular_decomposition(self, algorithm=algorithm)
77387738

@@ -8033,7 +8033,7 @@ def is_prime(self, algorithm=None):
80338033
True
80348034
"""
80358035
from sage.graphs.graph_decompositions.modular_decomposition import \
8036-
modular_decomposition
8036+
modular_decomposition
80378037

80388038
if self.order() <= 1:
80398039
return True
@@ -9565,7 +9565,7 @@ def is_projective_planar(self, return_map=False):
95659565
95669566
EXAMPLES:
95679567
9568-
The Peterson graph is a known projective planar graph::
9568+
The Petersen graph is a known projective planar graph::
95699569
95709570
sage: P = graphs.PetersenGraph()
95719571
sage: P.is_projective_planar() # long time
@@ -9731,6 +9731,6 @@ def is_projective_planar(self, return_map=False):
97319731
"is_matching_covered" : "Matching",
97329732
"matching" : "Matching",
97339733
"perfect_matchings" : "Matching"
9734-
}
9734+
}
97359735

97369736
__doc__ = __doc__.replace("{INDEX_OF_METHODS}", gen_thematic_rest_table_index(Graph, _additional_categories))

src/sage/groups/finitely_presented.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1616,7 +1616,7 @@ def alexander_matrix(self, im_gens=None):
16161616
"""
16171617
Return the Alexander matrix of the group.
16181618
1619-
This matrix is given by the fox derivatives of the relations
1619+
This matrix is given by the Fox derivatives of the relations
16201620
with respect to the generators.
16211621
16221622
- ``im_gens`` -- (optional) the images of the generators

src/sage/groups/free_group.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ def fox_derivative(self, gen, im_gens=None, ring=None):
398398
399399
OUTPUT:
400400
401-
The fox derivative of ``self`` with respect to ``gen``
401+
The Fox derivative of ``self`` with respect to ``gen``
402402
(induced by ``im_gens``).
403403
By default, it is an element of the group algebra with
404404
integer coefficients.
@@ -898,7 +898,7 @@ def _element_constructor_(self, *args, **kwds):
898898
except AttributeError:
899899
return self.element_class(self, x, **kwds)
900900
if isinstance(P, FreeGroup_class):
901-
names = {P._gen_names[abs(i)-1] for i in x.Tietze()}
901+
names = {P._gen_names[abs(i) - 1] for i in x.Tietze()}
902902
if names.issubset(self._gen_names):
903903
return self([i.sign()*(self._gen_names.index(P._gen_names[abs(i)-1])+1)
904904
for i in x.Tietze()])

src/sage/rings/finite_rings/integer_mod.pyx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3229,7 +3229,7 @@ cdef int_fast32_t mod_pow_int(int_fast32_t base, int_fast32_t exp, int_fast32_t
32293229
32303230
cdef int jacobi_int(int_fast32_t a, int_fast32_t m) except -2:
32313231
"""
3232-
Calculate the jacobi symbol (a/n).
3232+
Calculate the Jacobi symbol (a/n).
32333233

32343234
For use in ``IntegerMod_int``.
32353235

@@ -3244,7 +3244,7 @@ cdef int jacobi_int(int_fast32_t a, int_fast32_t m) except -2:
32443244
32453245
while True:
32463246
if a == 0:
3247-
return 0 # gcd was nontrivial
3247+
return 0 # gcd was nontrivial
32483248
elif a == 1:
32493249
return jacobi
32503250
s = 0
@@ -3893,7 +3893,7 @@ cdef int_fast64_t mod_pow_int64(int_fast64_t base, int_fast64_t exp, int_fast64_
38933893
38943894
cdef int jacobi_int64(int_fast64_t a, int_fast64_t m) except -2:
38953895
"""
3896-
Calculate the jacobi symbol (a/n).
3896+
Calculate the Jacobi symbol (a/n).
38973897

38983898
For use in ``IntegerMod_int64``.
38993899

@@ -3908,7 +3908,7 @@ cdef int jacobi_int64(int_fast64_t a, int_fast64_t m) except -2:
39083908
39093909
while True:
39103910
if a == 0:
3911-
return 0 # gcd was nontrivial
3911+
return 0 # gcd was nontrivial
39123912
elif a == 1:
39133913
return jacobi
39143914
s = 0

0 commit comments

Comments
 (0)