Skip to content

Commit 181d8c8

Browse files
author
Release Manager
committed
gh-39235: fixing a few typos just fixing a few typos ### 📝 Checklist - [x] The title is concise and informative. - [x] The description explains in detail what this PR is about. URL: #39235 Reported by: Frédéric Chapoton Reviewer(s): David Coudert
2 parents 32ac5a3 + 9cdc4b0 commit 181d8c8

File tree

21 files changed

+35
-35
lines changed

21 files changed

+35
-35
lines changed

docker/.gitpod.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ RUN apt update && apt-get install -yq --no-install-recommends sudo gpg curl lsb-
66

77
# Make Docker available, like the default gitpod image does
88
# from https://github.com/gitpod-io/workspace-images/blob/main/chunks/tool-docker/Dockerfile @ 3f0988f2d06768d22d0aa1454ef0e963b0db65f3
9-
# - removed unneccessary "sudo"
9+
# - removed unnecessary "sudo"
1010
# - replaced use of "install-packages" (https://github.com/gitpod-io/workspace-images/blob/main/base/install-packages)
1111
# https://docs.docker.com/engine/install/ubuntu/
1212
RUN curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg \

src/sage/algebras/hecke_algebras/cubic_hecke_base_ring.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -683,7 +683,7 @@ def create_specialization(self, im_cubic_equation_roots, im_writhe_parameter=Non
683683

684684
if len(cyclotomic_roots) > 0:
685685
E3 = cyclotomic_roots[0]
686-
verbose('thrird root of unity %s found in %s' % (E3, E3.parent()), level=2)
686+
verbose('third root of unity %s found in %s' % (E3, E3.parent()), level=2)
687687

688688
if E3 is None:
689689
raise RuntimeError('cannot find a ring containing a third root of unity for the this choice of cubic roots!')

src/sage/categories/finite_enumerated_sets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ def _random_element_from_unrank(self):
474474
sage: n in C
475475
True
476476
477-
TODO: implement _test_random which checks uniformness
477+
TODO: implement _test_random which checks uniformity
478478
"""
479479
from sage.misc.prandom import randint
480480
c = self.cardinality()

src/sage/combinat/designs/difference_family.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1579,7 +1579,7 @@ def is_relative_difference_set(R, G, H, params, verbose=False):
15791579
- ``H`` -- list; a submodule of ``G`` of order `n`
15801580
- ``params`` -- tuple in the form `(m, n, k, d)`
15811581
- ``verbose`` -- boolean (default: ``False``); if ``True``, the function
1582-
will be verbose when the sequences do not satisfy the contraints
1582+
will be verbose when the sequences do not satisfy the constraints
15831583
15841584
EXAMPLES::
15851585
@@ -1659,7 +1659,7 @@ def is_supplementary_difference_set(Ks, v=None, lmbda=None, G=None, verbose=Fals
16591659
- ``lmbda`` -- integer; the parameter `\lambda` of the supplementary difference sets
16601660
- ``G`` -- a group of order `v`
16611661
- ``verbose`` -- boolean (default: ``False``); if ``True``, the function will
1662-
be verbose when the sets do not satisfy the contraints
1662+
be verbose when the sets do not satisfy the constraints
16631663
16641664
EXAMPLES::
16651665
@@ -1757,7 +1757,7 @@ def supplementary_difference_set_from_rel_diff_set(q, existence=False, check=Tru
17571757
OUTPUT:
17581758
17591759
If ``existence=False``, the function returns the 4 sets (containing integers),
1760-
or raises an error if ``q`` does not satify the constraints.
1760+
or raises an error if ``q`` does not satisfy the constraints.
17611761
If ``existence=True``, the function returns a boolean representing whether
17621762
supplementary difference sets can be constructed.
17631763
@@ -3084,7 +3084,7 @@ def are_complementary_difference_sets(G, A, B, verbose=False):
30843084
- ``A`` -- set of elements of ``G``
30853085
- ``B`` -- set of elements of ``G``
30863086
- ``verbose`` -- boolean (default: ``False``); if ``True`` the function will
3087-
be verbose when the sets do not satisfy the contraints
3087+
be verbose when the sets do not satisfy the constraints
30883088
30893089
EXAMPLES::
30903090

src/sage/combinat/matrices/hadamard_matrix.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1503,7 +1503,7 @@ def hadamard_matrix_spence_construction(n, existence=False, check=True):
15031503
- ``n`` -- integer; the order of the matrix to be constructed
15041504
- ``existence`` -- boolean (default: ``False``); if ``True``, only check if
15051505
the matrix exists
1506-
- ``check`` -- bolean (default: ``True``); if ``True``, check that the matrix
1506+
- ``check`` -- boolean (default: ``True``); if ``True``, check that the matrix
15071507
is a Hadamard matrix before returning
15081508
15091509
OUTPUT:

src/sage/combinat/posets/posets.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6530,7 +6530,7 @@ def random_maximal_chain(self):
65306530
65316531
EXAMPLES::
65326532
6533-
sage: set_random_seed(0) # results are reproduceable
6533+
sage: set_random_seed(0) # results are reproducible
65346534
sage: P = posets.BooleanLattice(4)
65356535
sage: P.random_maximal_chain()
65366536
[0, 4, 5, 7, 15]
@@ -6565,7 +6565,7 @@ def random_maximal_antichain(self):
65656565
65666566
EXAMPLES::
65676567
6568-
sage: set_random_seed(0) # results are reproduceable
6568+
sage: set_random_seed(0) # results are reproducible
65696569
sage: P = posets.BooleanLattice(4)
65706570
sage: P.random_maximal_antichain()
65716571
[1, 8, 2, 4]
@@ -6597,7 +6597,7 @@ def random_linear_extension(self):
65976597
65986598
EXAMPLES::
65996599
6600-
sage: set_random_seed(0) # results are reproduceable
6600+
sage: set_random_seed(0) # results are reproducible
66016601
sage: P = posets.BooleanLattice(4)
66026602
sage: P.random_linear_extension()
66036603
[0, 4, 1, 2, 3, 8, 10, 5, 12, 9, 13, 11, 6, 14, 7, 15]

src/sage/combinat/regular_sequence.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ def __iter__(self):
335335
def is_degenerated(self):
336336
r"""
337337
Return whether this `k`-regular sequence is degenerated,
338-
i.e., whether this `k`-regular sequence does not satisfiy
338+
i.e., whether this `k`-regular sequence does not satisfy
339339
`\mu[0] \mathit{right} = \mathit{right}`.
340340
341341
EXAMPLES::
@@ -368,7 +368,7 @@ def is_degenerated(self):
368368
def _error_if_degenerated_(self):
369369
r"""
370370
Raise an error if this `k`-regular sequence is degenerated,
371-
i.e., if this `k`-regular sequence does not satisfiy
371+
i.e., if this `k`-regular sequence does not satisfy
372372
`\mu[0] \mathit{right} = \mathit{right}`.
373373
374374
TESTS::

src/sage/combinat/specht_module.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1036,7 +1036,7 @@ def _repr_(self):
10361036

10371037
class SimpleModule(SymmetricGroupRepresentation, QuotientModuleWithBasis):
10381038
r"""
1039-
The simgle `S_n`-module associated with a partition `\lambda`.
1039+
The simple `S_n`-module associated with a partition `\lambda`.
10401040
10411041
The simple module `D^{\lambda}` is the quotient of the Specht module
10421042
`S^{\lambda}` by its :class:`maximal submodule <MaximalSpechtSubmodule>`

src/sage/combinat/t_sequences.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def is_skew(seq, verbose=False):
8484
- ``seq`` -- the sequence that should be checked
8585
8686
- ``verbose`` -- boolean (default: ``False``); if ``True`` the function
87-
will be verbose when the sequences do not satisfy the contraints
87+
will be verbose when the sequences do not satisfy the constraints
8888
8989
EXAMPLES::
9090
@@ -130,7 +130,7 @@ def is_symmetric(seq, verbose=False) -> bool:
130130
- ``seq`` -- the sequence that should be checked
131131
132132
- ``verbose`` -- boolean (default: ``False``); if ``True`` the function will be
133-
verbose when the sequences do not satisfy the contraints
133+
verbose when the sequences do not satisfy the constraints
134134
135135
EXAMPLES::
136136
@@ -180,7 +180,7 @@ def is_T_sequences_set(sequences, verbose=False):
180180
- ``sequences`` -- list of four sequences
181181
182182
- ``verbose`` -- boolean (default: ``False``); if ``True`` the function will be
183-
verbose when the sequences do not satisfy the contraints
183+
verbose when the sequences do not satisfy the constraints
184184
185185
EXAMPLES::
186186
@@ -643,7 +643,7 @@ def is_base_sequences_tuple(base_sequences, verbose=False):
643643
- ``base_sequences`` -- the list of 4 sequences that should be checked
644644
645645
- ``verbose`` -- boolean (default: ``False``); if ``True`` the function
646-
will be verbose when the sequences do not satisfy the contraints
646+
will be verbose when the sequences do not satisfy the constraints
647647
648648
EXAMPLES::
649649
@@ -656,7 +656,7 @@ def is_base_sequences_tuple(base_sequences, verbose=False):
656656
657657
sage: seqs = [[1, -1], [1, 1], [-1], [2]]
658658
sage: is_base_sequences_tuple(seqs, verbose=True)
659-
Base sequences should only contiain -1, +1, found 2
659+
Base sequences should only contain -1, +1, found 2
660660
False
661661
662662
TESTS:
@@ -694,7 +694,7 @@ def is_base_sequences_tuple(base_sequences, verbose=False):
694694
for el in seq:
695695
if abs(el) != 1:
696696
if verbose:
697-
print(f'Base sequences should only contiain -1, +1, found {el}')
697+
print(f'Base sequences should only contain -1, +1, found {el}')
698698
return False
699699

700700
for j in range(1, n+p):

src/sage/ext_data/valgrind/pyalloc.supp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Read Misc/README.valgrind in the Python sourcs for a thorough explanation
1+
# Read Misc/README.valgrind in the Python sources for a thorough explanation
22
#
33
# In short: We need these unless we compile python without pyalloc,
44
# but that would be prohibitively slow.

0 commit comments

Comments
 (0)