Skip to content

Commit befb46f

Browse files
author
Release Manager
committed
sagemathgh-40002: fix some typos in various places just fix a few typos also adding typing annotation in one of the modified files ### 📝 Checklist - [x] The title is concise and informative. - [x] The description explains in detail what this PR is about. URL: sagemath#40002 Reported by: Frédéric Chapoton Reviewer(s): David Coudert, Frédéric Chapoton
2 parents 02cfe29 + f0585a0 commit befb46f

File tree

26 files changed

+47
-47
lines changed

26 files changed

+47
-47
lines changed

src/sage/combinat/colored_permutations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1471,7 +1471,7 @@ def to_cycles(self, singletons=True, use_min=True, negative_cycles=True):
14711471
14721472
.. WARNING::
14731473
1474-
The arugment ``negative_cycles`` does not refer to the usual
1474+
The argument ``negative_cycles`` does not refer to the usual
14751475
definition of a negative cycle; see :meth:`cycle_type`.
14761476
14771477
EXAMPLES::

src/sage/combinat/plane_partition.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2180,7 +2180,7 @@ def from_antichain(self, acl) -> PP:
21802180

21812181
def from_order_ideal(self, I) -> PP:
21822182
r"""
2183-
Return the cylically symmetric plane partition corresponding
2183+
Return the cyclically symmetric plane partition corresponding
21842184
to an order ideal in the poset given in :meth:`to_poset`.
21852185
21862186
EXAMPLES::

src/sage/combinat/rsk.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ def forward_rule(self, obj1, obj2, check_standard=False, check=True):
299299
300300
- any object ``obj1`` which has a method ``_rsk_iter()``,
301301
as long as this method returns an iterator yielding
302-
pairs of numbers, which then are interperted as top
302+
pairs of numbers, which then are interpreted as top
303303
entries and bottom entries in the biword (in this case,
304304
``obj2`` is ``None``)
305305
@@ -2173,7 +2173,7 @@ def forward_rule(self, obj1, obj2, check_standard=False, check=True):
21732173
21742174
- any object ``obj1`` which has a method ``_rsk_iter()``,
21752175
as long as this method returns an iterator yielding
2176-
pairs of numbers, which then are interperted as top
2176+
pairs of numbers, which then are interpreted as top
21772177
entries and bottom entries in the biword (in this case,
21782178
``obj2`` is ``None``)
21792179

src/sage/combinat/t_sequences.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
* the last element of `X` is -1
1919
* the last element of `U` is 1
2020
21-
The nonperiodic autocorrelation of a familiy of sequences
21+
The nonperiodic autocorrelation of a family of sequences
2222
`X=\{A_1, A_2, ..., A_n\}` is defined as (see Definition 7.2 of [Seb2017]_):
2323
2424
.. MATH::
@@ -45,7 +45,7 @@
4545

4646
def _nonperiodic_autocorrelation(sequences, j):
4747
r"""
48-
Compute the nonperiodic autocorrelation of a familiy of sequences.
48+
Compute the nonperiodic autocorrelation of a family of sequences.
4949
5050
Namely, given a family of sequences `X` it computes:
5151

src/sage/combinat/triangles_FHM.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def _matrix_display(self, variables=None):
6262
6363
- ``variables`` -- (optional) choice of 2 variables
6464
65-
OUPUT:
65+
OUTPUT:
6666
6767
matrix
6868

src/sage/crypto/block_cipher/des.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1041,7 +1041,7 @@ def convert_to_vector(I, L):
10411041
10421042
- ``I`` -- integer or bit list-like
10431043
1044-
- ``L`` -- integer; the desired bit length of the ouput
1044+
- ``L`` -- integer; the desired bit length of the output
10451045
10461046
OUTPUT: the ``L``-bit vector representation of ``I``
10471047

src/sage/crypto/block_cipher/present.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,7 @@ def sbox_layer(self, state, inverse=False):
553553
:mod:`sage.crypto.sbox` uses big endian by default whereas most of
554554
Sage uses little endian. So to use the big endian PRESENT Sbox from
555555
:mod:`sage.crypto.sboxes` :func:`sbox_layer` has to do some endian
556-
conversion (i.e. reverse input and ouput of the Sbox). Keep this in
556+
conversion (i.e. reverse input and output of the Sbox). Keep this in
557557
mind if you change the Sbox or :func:`sbox_layer`.
558558
"""
559559
sbox = self.sbox if not inverse else self.sbox.inverse()
@@ -703,7 +703,7 @@ class PRESENT_KS(SageObject):
703703
:mod:`sage.crypto.sbox` uses big endian by default whereas most of Sage
704704
uses little endian. So to use the big endian PRESENT Sbox from
705705
:mod:`sage.crypto.sboxes` :class:`PRESENT_KS` has to do some endian
706-
conversion (i.e. reverse input and ouput of the Sbox). Keep this in
706+
conversion (i.e. reverse input and output of the Sbox). Keep this in
707707
mind if you change the Sbox or :func:`__call__`.
708708
709709
.. automethod:: __init__
@@ -885,7 +885,7 @@ def convert_to_vector(I, L):
885885
886886
- ``I`` -- integer or bit list-like
887887
888-
- ``L`` -- integer; the desired bit length of the ouput
888+
- ``L`` -- integer; the desired bit length of the output
889889
890890
OUTPUT: the ``L``-bit vector representation of ``I``
891891

src/sage/dynamics/arithmetic_dynamics/projective_ds.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4997,7 +4997,7 @@ def multiplier_spectra(self, n, formal=False, type='point', use_algebraic_closur
49974997
r"""
49984998
Compute the ``n`` multiplier spectra of this dynamical system.
49994999
5000-
This is the set of multipliers of all peroidic points of
5000+
This is the set of multipliers of all periodic points of
50015001
period ``n`` included with the appropriate multiplicity.
50025002
User can also specify to compute the formal ``n`` multiplier spectra
50035003
instead which includes the multipliers of all formal periodic points
@@ -5413,7 +5413,7 @@ def sigma_invariants(self, n, formal=False, embedding=None, type='point',
54135413
54145414
\prod_{P \text{ period n}} ( w - c(P,t)),
54155415
5416-
where `c(P,t)` is the charateristic polynomial (variable `t`) of the
5416+
where `c(P,t)` is the characteristic polynomial (variable `t`) of the
54175417
multiplier at `P`. Note that in dimension 1, only the coefficients
54185418
of the constant term is returned.
54195419
@@ -6843,7 +6843,7 @@ def is_Lattes(self):
68436843
def Lattes_to_curve(self, return_conjugation=False, check_lattes=False):
68446844
r"""
68456845
Finds a Short Weierstrass Model Elliptic curve of self
6846-
self assumed to be Lattes map and not in charateristic 2 or 3
6846+
self assumed to be Lattes map and not in characteristic 2 or 3
68476847
68486848
INPUT:
68496849

src/sage/geometry/polyhedron/combinatorial_polyhedron/base.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3670,7 +3670,7 @@ cdef class CombinatorialPolyhedron(SageObject):
36703670
# If ``not do_f_vector`` the iterator is set up
36713671
# for ``output_dimension`` and
36723672
# ``d < dim`` implies
3673-
# ``d == ouput_dimension``.
3673+
# ``d == output_dimension``.
36743674
if not do_f_vector or d == output_dimension:
36753675
if do_atom_rep:
36763676
# Set up face_iter.atom_rep

src/sage/geometry/polyhedron/combinatorial_polyhedron/face_iterator.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1591,7 +1591,7 @@ cdef class FaceIterator(FaceIterator_base):
15911591
"""
15921592
if self.structure.output_dimension != -2:
15931593
if self.dual:
1594-
# ouput_dimension is stored with respect to the dual
1594+
# output_dimension is stored with respect to the dual
15951595
intended_dimension = self.structure.dimension - 1 - self.structure.output_dimension
15961596
else:
15971597
intended_dimension = self.structure.output_dimension

0 commit comments

Comments
 (0)