Skip to content

Commit 2984a0f

Browse files
committed
Fix: Various spellchecks
1 parent 5f70c9d commit 2984a0f

File tree

41 files changed

+159
-163
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+159
-163
lines changed

.github/ISSUE_TEMPLATE/new_concept_exercise_template.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,9 @@ This concept exercise is meant to teach an understanding/use of`<concept-SLUG>`.
9191

9292

9393

94-
*
95-
*
96-
*
94+
*
95+
*
96+
*
9797

9898

9999

@@ -108,7 +108,7 @@ This concept exercise is meant to teach an understanding/use of`<concept-SLUG>`.
108108
* ### `links.json`
109109

110110
* The same resources can be used for the [ `concepts/links.json`](https://github.com/exercism/docs/blob/main/anatomy/tracks/concepts.md#file-linksjson) file, if it doesn't already exist.
111-
* If there are particularly good/interesting informations sources for this concept that extend or supplement the concept exercise material, please add them to the `links.json` document.
111+
* If there are particularly good/interesting information sources for this concept that extend or supplement the concept exercise material, please add them to the `links.json` document.
112112

113113

114114

CONTRIBUTING.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,19 @@ Hi. &nbsp;👋🏽 &nbsp;👋 &nbsp;**We are happy you are here.**&nbsp; 🎉&nb
1717
<br>
1818
<img align="left" width="90" height="85" src="https://github.com/exercism/website-icons/blob/main/exercises/health-statistics.svg">
1919

20-
We&nbsp;💛&nbsp;💙 &nbsp; our community.
21-
**`But our maintainers are not accepting community contributions at this time.`**
20+
We&nbsp;💛&nbsp;💙 &nbsp; our community.
21+
**`But our maintainers are not accepting community contributions at this time.`**
2222
Please read this [community blog post](https://exercism.org/blog/freeing-our-maintainers) for details.
2323

2424
</tr>
2525
</table>
2626
<br>
2727

28-
**`exercism/Python`** is one of many programming language tracks on [exercism(dot)org][exercism-website].
28+
**`exercism/Python`** is one of many programming language tracks on [exercism(dot)org][exercism-website].
2929
This repo holds all the instructions, tests, code, & support files for Python _exercises_ currently under development or implemented & available for students.
3030

3131
🌟 &nbsp;&nbsp;Track exercises support Python `3.7` - `3.11.2`.
32-
Exceptions to this support are noted where they occur.
32+
Exceptions to this support are noted where they occur.
3333
🌟 &nbsp;&nbsp;Track tooling (_test-runner, representer, analyzer, and Continuous Integration_) runs on Python `3.11.2`.
3434

3535
Exercises are grouped into **concept** exercises which teach the [Python syllabus][python-syllabus], and **practice** exercises, which are unlocked by progressing in the syllabus tree &nbsp;🌴&nbsp;.
@@ -42,17 +42,17 @@ Practice exercises are open-ended, and can be used to practice concepts learned,
4242

4343
It is not uncommon to discover typos, confusing directions, or incorrect implementations of certain tests or code examples. Or you might have a great suggestion for a hint to aid students (&nbsp;💙 &nbsp;), see optimizations for exemplar or test code, find missing test cases to add, or want to correct factual and/or logical errors. Or maybe you have a great idea 💡 for an exercise or feature (&nbsp;💙&nbsp;).
4444

45-
_Our track is always a work in progress!_ 🌟🌟
45+
_Our track is always a work in progress!_ 🌟🌟
4646
While contributions are paused, we ask that you [`open a thread in our community forum`](https://forum.exercism.org) to let us know what you have found/suggest.
4747

4848
<br>
4949

5050
## 🚧 **Did you write a patch that fixes a bug?**
5151

52-
**`Our maintainers are not accepting community contributions at this time.`**
52+
**`Our maintainers are not accepting community contributions at this time.`**
5353
Please read this [community blog post](https://exercism.org/blog/freeing-our-maintainers) for details.
5454

55-
Once the pause ends, we will **happily** consider your PR.
55+
Once the pause ends, we will **happily** consider your PR.
5656
Until that time, all PRs from the larger community will be **automatically closed** with a note.
5757

5858
We're leaving the general contributing docs below for our long-term collaborators and maintainers.
@@ -111,7 +111,7 @@ Our documents use [Markdown][markdown-language], with certain [alterations][exer
111111

112112
<br>
113113
<img align="left" width="70" height="65" src="https://github.com/exercism/website-icons/blob/main/tracks/python.svg">
114-
<p vertical-align="middle"><h2 id="coding-standars">Coding Standards</h2></p>
114+
<p vertical-align="middle"><h2 id="coding-standards">Coding Standards</h2></p>
115115

116116
<br>
117117

@@ -185,7 +185,7 @@ Our documents use [Markdown][markdown-language], with certain [alterations][exer
185185

186186
If you have any questions or issues, don't hesitate to ask the maintainers -- they're always happy to help&nbsp;💛&nbsp;💙&nbsp;
187187

188-
Some of our code is old and does not (yet) conform to all these standards.
188+
Some of our code is old and does not (yet) conform to all these standards.
189189
_We know it, and trust us, we are working on fixing it._ But if you see &nbsp;👀&nbsp; something, &nbsp;👄&nbsp; say something. It'll motivate us to fix it! 🌈
190190

191191
<br>
@@ -195,7 +195,7 @@ _We know it, and trust us, we are working on fixing it._ But if you see &nbsp;
195195

196196
<br>
197197

198-
This track officially supports Python `3.7 - 3.11.2` for students completing exercises.
198+
This track officially supports Python `3.7 - 3.11.2` for students completing exercises.
199199
The track `test runner`, `analyzer`, and `representer` run in docker on `python:3.11.2-slim`.
200200

201201
Although the majority of test cases are written using `unittest.TestCase`,
@@ -316,7 +316,7 @@ _Exercise Structure with Auto-Generated Test Files_
316316
317317
<br>
318318
319-
Practice exercise `<exercise_slug>_test.py` files are generated/regenerated via the [Python Track Test Generator][python-track-test-generator].
319+
Practice exercise `<exercise_slug>_test.py` files are generated/regenerated via the [Python Track Test Generator][python-track-test-generator].
320320
Please reach out to a maintainer if you need any help with the process.
321321
322322
<br>
@@ -338,7 +338,7 @@ If an unimplemented exercise does not have a `canonical-data.json` file, the tes
338338
1. Verification of the tests
339339
2. Example implementation for mentor/student reference
340340
341-
Unlike `concept` exercise, practice exercise `example.py` files are **NOT** intended as as a "best practice" or "standard".
341+
Unlike `concept` exercise, practice exercise `example.py` files are **NOT** intended as as a "best practice" or "standard".
342342
They are provided as proof that there is an acceptable and testable answer to the practice exercise.
343343
344344
<br>
@@ -354,7 +354,7 @@ Implementing Track-specific Practice Exercises is similar to implementing a `can
354354
<br>
355355
<b>You will need</b>
356356
357-
1.&nbsp;&nbsp;A local clone of the [problem-specifications] repository.
357+
1.&nbsp;&nbsp;A local clone of the [problem-specifications] repository.
358358
2.&nbsp;&nbsp;[configlet]
359359
360360
<p><b>For Individual Exercises</b><p><img id="regenerating-individual-exercise-documents" align="left" width="45" height="45" src="https://github.com/exercism/website-icons/blob/main/exercises/doubly-linked-list.svg"></p>

concepts/basics/about.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Python is a [dynamic and strongly typed][dynamic typing in python] programming language.
44
It employs both [duck typing][duck typing] and [gradual typing][gradual typing], via [type hints][type hints].
5-
Imperative, declarative (e.g., functional), and object-oriented programming _styles_ are all supported, but internally **[everything in Python is an object][everythings an object]**.
5+
Imperative, declarative (e.g., functional), and object-oriented programming _styles_ are all supported, but internally **[everything in Python is an object][everything is an object]**.
66

77
Python puts a strong emphasis on code readability and (_similar to Haskell_) uses [significant indentation][significant indentation] to denote function, method, and class definitions.
88

@@ -116,7 +116,7 @@ Statements for the _body_ of the function begin on the line following `def` and
116116
# The body of a function is indented by 2 spaces, & prints the sum of the numbers.
117117
def add_two_numbers(number_one, number_two):
118118
total = number_one + number_two
119-
print(total)
119+
print(total)
120120

121121
>>> add_two_numbers(3, 4)
122122
7
@@ -141,14 +141,14 @@ Functions _explicitly_ return a value or object via the [`return`][return] keywo
141141
```python
142142
# Function definition on first line, explicit return used on final line.
143143
def add_two_numbers(number_one, number_two):
144-
return number_one + number_two
144+
return number_one + number_two
145145

146146

147147
# Calling the function in the Python terminal returns the sum of the numbers.
148148
>>> add_two_numbers(3, 4)
149149
7
150150

151-
# Assigning the function call to a variable and printing
151+
# Assigning the function call to a variable and printing
152152
# the variable will also return the value.
153153
>>> sum_with_return = add_two_numbers(5, 6)
154154
>>> print(sum_with_return)
@@ -166,19 +166,19 @@ def add_two_numbers(number_one, number_two):
166166
result = number_one + number_two
167167

168168

169-
# Calling the function in the Python terminal appears
169+
# Calling the function in the Python terminal appears
170170
# to not return anything at all.
171171
>>> add_two_numbers(5, 7)
172172
>>>
173173

174174

175-
# Using print() with the function call shows that
175+
# Using print() with the function call shows that
176176
# the function is actually returning the **None** object.
177177
>>> print(add_two_numbers(5, 7))
178178
None
179179

180180

181-
# Assigning the function call to a variable and printing
181+
# Assigning the function call to a variable and printing
182182
# the variable will also show None.
183183
>>> sum_without_return = add_two_numbers(5, 6)
184184
>>> print(sum_without_return)
@@ -320,7 +320,7 @@ errors defaults to 'strict'.
320320
[doctests]: https://docs.python.org/3/library/doctest.html
321321
[duck typing]: https://en.wikipedia.org/wiki/Duck_typing
322322
[dynamic typing in python]: https://stackoverflow.com/questions/11328920/is-python-strongly-typed
323-
[everythings an object]: https://docs.python.org/3/reference/datamodel.html
323+
[everything is an object]: https://docs.python.org/3/reference/datamodel.html
324324
[facts-and-myths-about-python-names]: https://nedbatchelder.com/text/names.html
325325
[function definition]: https://docs.python.org/3/tutorial/controlflow.html#defining-functions
326326
[functions]: https://docs.python.org/3/reference/compound_stmts.html#function

concepts/basics/introduction.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Python puts a strong emphasis on code readability and (_similar to Haskell_) use
66

77
Python was created by Guido van Rossum and first released in 1991.
88

9-
Imperative, declarative (e.g., functional), and object-oriented programming _styles_ are all supported, but internally **[everything in Python is an object][everythings an object]**.
9+
Imperative, declarative (e.g., functional), and object-oriented programming _styles_ are all supported, but internally **[everything in Python is an object][everything is an object]**.
1010

1111
We'll dig more into what all of that means as we continue through the Python track concepts.
1212

@@ -62,7 +62,7 @@ Statements for the _body_ of the function begin on the line following `def` and
6262
# The body of this function is indented by 2 spaces,& prints the sum of the numbers.
6363
def add_two_numbers(number_one, number_two):
6464
total = number_one + number_two
65-
print(total)
65+
print(total)
6666

6767
>>> add_two_numbers(3, 4)
6868
7
@@ -87,14 +87,14 @@ Functions _explicitly_ return a value or object via the [`return`][return] keywo
8787
```python
8888
# Function definition on first line, explicit return used on final line.
8989
def add_two_numbers(number_one, number_two):
90-
return number_one + number_two
90+
return number_one + number_two
9191

9292

9393
# Calling the function in the Python terminal returns the sum of the numbers.
9494
>>> add_two_numbers(3, 4)
9595
7
9696

97-
# Assigning the function call to a variable and printing
97+
# Assigning the function call to a variable and printing
9898
# the variable will also return the value.
9999
>>> sum_with_return = add_two_numbers(5, 6)
100100
>>> print(sum_with_return)
@@ -114,19 +114,19 @@ def add_two_numbers(number_one, number_two):
114114
result = number_one + number_two
115115

116116

117-
# Calling the function in the Python terminal appears
117+
# Calling the function in the Python terminal appears
118118
# to not return anything at all.
119119
>>> add_two_numbers(5, 7)
120120
>>>
121121

122122

123-
# Using print() with the function call shows that
123+
# Using print() with the function call shows that
124124
# the function is actually returning the **None** object.
125125
>>> print(add_two_numbers(5, 7))
126126
None
127127

128128

129-
# Assigning the function call to a variable and printing
129+
# Assigning the function call to a variable and printing
130130
# the variable will also show None.
131131
>>> sum_without_return = add_two_numbers(5, 6)
132132
>>> print(sum_without_return)
@@ -169,7 +169,7 @@ def complex(real=0.0, imag=0.0):
169169
[docstring]: https://docs.python.org/3/tutorial/controlflow.html#tut-docstrings
170170
[duck typing]: https://en.wikipedia.org/wiki/Duck_typing
171171
[dynamic typing in python]: https://stackoverflow.com/questions/11328920/is-python-strongly-typed
172-
[everythings an object]: https://docs.python.org/3/reference/datamodel.html
172+
[everything is an object]: https://docs.python.org/3/reference/datamodel.html
173173
[facts-and-myths-about-python-names]: https://nedbatchelder.com/text/names.html
174174
[function definition]: https://docs.python.org/3/tutorial/controlflow.html#defining-functions
175175
[gradual typing]: https://en.wikipedia.org/wiki/Gradual_typing

concepts/bitwise-operators/about.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,17 +28,17 @@ There are multiple ways to convert integers to binary strings, varying in whethe
2828
23
2929

3030
# Converting an int display to binary string, with prefix.
31-
>>> bin(23)
31+
>>> bin(23)
3232
'0b10111'
3333

3434
>>> number = 23
3535

3636
# Binary without prefix, padded to 8 digits.
37-
>>> format(number, '08b')
37+
>>> format(number, '08b')
3838
'00010111'
3939

4040
# Same format, but using an f-string.
41-
>>> f"{number} in decimal is {number:08b} in binary and {number:x} in hex"
41+
>>> f"{number} in decimal is {number:08b} in binary and {number:x} in hex"
4242
'23 in decimal is 00010111 in binary and 17 in hex'
4343
```
4444

@@ -117,7 +117,7 @@ This means that all bits are inverted and a number is _**interpreted as negative
117117
Positive numbers have an MSB of `0`.
118118
This representation has the advantage of only having one version of zero, so that the programmer doesn't have to manage `-0` and `+0`.
119119

120-
This way of representing negative and positive numbers adds a complication for Python: there are no finite-integer concepts like `int32` or `int64` internally in the core langauge.
120+
This way of representing negative and positive numbers adds a complication for Python: there are no finite-integer concepts like `int32` or `int64` internally in the core language.
121121
In 'modern' Python, `int`s are of unlimited size (_limited only by hardware capacity_), and a negative or bit-inverted number has a (_theoretically_) infinite number of `1`'s to the left, just as a positive number has unlimited `0`'s.
122122

123123
This makes it difficult to give a useful example of `bitwise not`:
@@ -129,7 +129,7 @@ This makes it difficult to give a useful example of `bitwise not`:
129129

130130
# This is a negative binary (not twos-complement display).
131131
>>> format(~x, '08b')
132-
'-1100111'
132+
'-1100111'
133133

134134
# Decimal representation.
135135
>>> x
@@ -167,14 +167,14 @@ Keep in mind the previous section on negative numbers and their pitfalls when sh
167167
>>> format(x, '08b')
168168
'00001000'
169169

170-
# A left bit shift.
171-
>>> x << 2
170+
# A left bit shift.
171+
>>> x << 2
172172
32
173173

174174
>>> format(x << 2, '08b')
175175
'00100000'
176176

177-
# A right bit shift.
177+
# A right bit shift.
178178
>>> format(x >> 2, '08b')
179179
'00000010'
180180
```

concepts/classes/about.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ class MyClass:
118118
def __init__(self, location):
119119

120120
# This is an instance or object property, attribute, or variable.
121-
# Note that we are unpacking the tuple argument into two seperate instance variables.
121+
# Note that we are unpacking the tuple argument into two separate instance variables.
122122
self.location_x = location[0]
123123
self.location_y = location[1]
124124

docs/ABOUT.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
[Python][python docs] is a [dynamic and strongly][dynamic typing in python] typed [object-oriented][object oriented programming] programming language.
44
It employs both [duck typing][duck typing] and [gradual typing][gradual typing] (via [type hints][type hints]).
55
It supports multiple programming paradigms including imperative (_object-oriented, procedural_) and declarative (_functional, concurrent_) flavors.
6-
But do not be fooled: while programming across paradigms is fully supported, [everything in Python is an object][everythings an object].
6+
But do not be fooled: while programming across paradigms is fully supported, [everything in Python is an object][everything is an object].
77

88

99
Python was created by Guido van Rossum and first released in 1991.
@@ -42,7 +42,7 @@ Complete documentation for the current release of Python (3.11.x) can be found a
4242
[duck typing]: https://en.wikipedia.org/wiki/Duck_typing
4343
[dynamic typing in python]: https://stackoverflow.com/questions/11328920/is-python-strongly-typed
4444
[editors for python]: https://djangostars.com/blog/python-ide/
45-
[everythings an object]: https://docs.python.org/3/reference/datamodel.html
45+
[everything is an object]: https://docs.python.org/3/reference/datamodel.html
4646
[gradual typing]: https://en.wikipedia.org/wiki/Gradual_typing
4747
[jupyter]: http://jupyter.org
4848
[object oriented programming]: https://en.wikipedia.org/wiki/Object-oriented_programming

0 commit comments

Comments
 (0)