Skip to content

Commit dc66e59

Browse files
authored
Fixed spelling errors in approaches docs. (#3804)
1 parent 694a421 commit dc66e59

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

exercises/practice/acronym/.approaches/generator-expression/content.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ A [`generator-expression`][generator-expression] is then used to iterate through
3030

3131
Generator expressions are short-form [generators][generators] - lazy iterators that produce their values _on demand_, instead of saving them to memory.
3232
This generator expression is consumed by [`str.join()`][str-join], which joins the generated letters together using an empty string.
33-
Other "seperator" strings can be used with `str.join()` - see [concept:python/string-methods]() for some additional examples.
33+
Other "separator" strings can be used with `str.join()` - see [concept:python/string-methods]() for some additional examples.
3434
Since the generator expression and `join()` are fairly succinct, they are put directly on the `return` line rather than assigning and returning an intermediate variable for the acronym.
3535

3636

exercises/practice/acronym/.approaches/list-comprehension/content.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ As of this writing, both of these methods benchmark slower than using `str.repla
2525

2626
A [`list comprehension`][list comprehension] is then used to iterate through the phrase and select the first letters of each word via [`bracket notation`][subscript notation].
2727
This comprehension is passed into [`str.join()`][str-join], which unpacks the `list` of first letters and joins them together using an empty string - the acronym.
28-
Other "seperator" strings besides an empty string can be used with `str.join()` - see [concept:python/string-methods]() for some additional examples.
28+
Other "separator" strings besides an empty string can be used with `str.join()` - see [concept:python/string-methods]() for some additional examples.
2929
Since the comprehension and `join()` are fairly succinct, they are put directly on the `return` line rather than assigning and returning an intermediate variable for the acronym.
3030

3131

exercises/practice/acronym/.approaches/regex-join/content.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ Note that when using `finditer()`, the `Match object` has to be unpacked via `ma
7474

7575
Generator expressions are short-form [generators][generators] - lazy iterators that produce their values _on demand_, instead of saving them to memory.
7676
This generator expression is consumed by [`str.join()`][str-join], which joins the generated letters together using an empty string.
77-
Other "seperator" strings can be used with `str.join()` - see [concept:python/string-methods]() for some additional examples.
77+
Other "separator" strings can be used with `str.join()` - see [concept:python/string-methods]() for some additional examples.
7878

7979

8080
Finally, the result of `.join()` is capitalized using the [chained][chaining] [`.upper()`][str-upper].

0 commit comments

Comments
 (0)