Skip to content

Commit 332d23c

Browse files
author
Release Manager
committed
sagemathgh-40006: some typos just a few more typos fixed ### 📝 Checklist - [x] The title is concise and informative. - [x] The description explains in detail what this PR is about. URL: sagemath#40006 Reported by: Frédéric Chapoton Reviewer(s): David Coudert
2 parents 0531ff3 + 14c7c53 commit 332d23c

File tree

5 files changed

+9
-8
lines changed

5 files changed

+9
-8
lines changed

src/sage/graphs/generators/families.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1832,7 +1832,7 @@ def DoubleGeneralizedPetersenGraph(n, k):
18321832
18331833
PLOTTING: Upon construction, the position dictionary is filled to override
18341834
the spring-layout algorithm. By convention, the double generalized Petersen
1835-
graphs are displayed as 4 cocentric cycles, with the first n nodes drawn on
1835+
graphs are displayed as 4 concentric cycles, with the first n nodes drawn on
18361836
the outer circle. The first (0) node is drawn at the top of the
18371837
outer-circle, moving counterclockwise after that. The second circle is drawn
18381838
with the (n)th node at the top, then counterclockwise as well. The tird
@@ -1889,7 +1889,7 @@ def RoseWindowGraph(n, a, r):
18891889
r"""
18901890
Return a rose window graph with `2n` nodes.
18911891
1892-
The rose window graphs is a family of tetravalant graphs introduced in
1892+
The rose window graphs is a family of tetravalent graphs introduced in
18931893
[Wilson2008]_. The parameters `n`, `a` and `r` are integers such that
18941894
`n > 2`, `1 \leq a, r < n`, and `r \neq n / 2`.
18951895

src/sage/knots/knotinfo.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -761,7 +761,7 @@ def braid_notation(self, original=False):
761761
762762
There has been a major change to braid representatives for
763763
proper links since version 2021.10.1. The former braid
764-
reresentatives can be obtained by the column
764+
representatives can be obtained by the column
765765
``braid_notation_old`` (see the final example below).
766766
767767
EXAMPLES::
@@ -925,7 +925,7 @@ def determinant(self):
925925
.. NOTE::
926926
927927
KnotInfo's value for the unknot ``0_1`` is zero. This is not
928-
compatible whith Sage's result (the value of the Alexander
928+
compatible with Sage's result (the value of the Alexander
929929
polynomial at -1). Since this method is needed to identify
930930
Sage links we take the according value in that case.
931931

src/sage/rings/integer.pyx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6186,13 +6186,14 @@ cdef class Integer(sage.structure.element.EuclideanDomainElement):
61866186
"""
61876187
return self % 4 in [0, 1]
61886188

6189-
def is_fundamental_discriminant(self):
6189+
def is_fundamental_discriminant(self) -> bool:
61906190
"""
61916191
Return ``True`` if this integer is a fundamental discriminant.
61926192

61936193
.. NOTE::
61946194

6195-
A fundamental discriminant is a discrimimant, not 0 or 1 and not a square multiple of a smaller discriminant.
6195+
A fundamental discriminant is a discriminant, not 0 or 1
6196+
and not a square multiple of a smaller discriminant.
61966197

61976198
EXAMPLES::
61986199

src/sage/rings/polynomial/skew_polynomial_finite_field.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -945,7 +945,7 @@ cdef class SkewPolynomial_finite_field_dense(SkewPolynomial_finite_order_dense):
945945
(x + t^2 + 4) * (x + t + 3) * (x + t)
946946
947947
However, the algorithm is probabilistic. Hence if we first
948-
reinitialiaze `a`, we may get a different answer::
948+
reinitialize `a`, we may get a different answer::
949949
950950
sage: a = x^3 + (t^2 + 4*t + 2)*x^2 + (3*t + 3)*x + t^2 + 1
951951
sage: F = a.factor(); F # random

src/sage/schemes/curves/plane_curve_arrangement.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -809,7 +809,7 @@ def __init__(self, parent, curves, check=True):
809809
def fundamental_group(self, simplified=True):
810810
r"""
811811
Return the fundamental group of the complement of the union
812-
of an arragnement of projective plane curves
812+
of an arrangement of projective plane curves
813813
in the projective plane.
814814
815815
INPUT:

0 commit comments

Comments
 (0)