Skip to content

Commit f214698

Browse files
authored
Remove extraneous periods (#3833)
1 parent db94cb0 commit f214698

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

exercises/practice/simple-linked-list/.docs/hints.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
In order for _custom objects_ to support `len()`, the special method [`__len__`][__len__] needs to be defined.
1414
- Iteration in Python is supported for most sequence, container, or collection type objects.
1515
In order for a _custom_ object to support looping or re-ordering, the special method `__iter__` needs to be defined.
16-
[Implementing an iterator for a class.][implementing iterators] can help show you how.
16+
[Implementing an iterator for a class][implementing iterators] can help show you how.
1717

1818
[Baeldung: The Stack Data Structure]: https://www.baeldung.com/cs/stack-data-structure
1919
[Koder Dojo Coding an ADS Stack in Python]: https://www.koderdojo.com/blog/coding-a-stack-abstract-data-structure-using-linked-list-in-python

exercises/practice/simple-linked-list/.docs/instructions.append.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ For details on implementing special or "dunder" methods in Python, see [Python D
4646
## Building an Iterator
4747

4848
To support looping through or reversing your `LinkedList`, you will need to implement the `__iter__` special method.
49-
See [implementing an iterator for a class.][custom iterators] for implementation details.
49+
See [implementing an iterator for a class][custom iterators] for implementation details.
5050

5151
<br>
5252

@@ -56,7 +56,7 @@ Sometimes it is necessary to both [customize][customize errors] and [`raise`][ra
5656
When you do this, you should always include a **meaningful error message** to indicate what the source of the error is.
5757
This makes your code more readable and helps significantly with debugging.
5858

59-
Custom exceptions can be created through new exception classes (see [`classes`][classes tutorial] for more detail.) that are typically subclasses of [`Exception`][exception base class].
59+
Custom exceptions can be created through new exception classes (see [`classes`][classes tutorial] for more detail) that are typically subclasses of [`Exception`][exception base class].
6060

6161
For situations where you know the error source will be a derivative of a certain exception _type_, you can choose to inherit from one of the [`built in error types`][built-in errors] under the _Exception_ class.
6262
When raising the error, you should still include a meaningful message.

0 commit comments

Comments
 (0)