[Chaitanas Colossal Coaster]: Removed "effectively" from HOWTO sentence. (#3777)

* Removed effectively from HOWTO sentence.

* Resorted reflinks.
This commit is contained in:
BethanyG
2024-09-27 09:17:15 -07:00
committed by GitHub
parent 2a09812b26
commit 7e38ff1171
2 changed files with 6 additions and 7 deletions

View File

@@ -136,9 +136,9 @@ The order of list elements can be reversed _**in place**_ with `<list>.reverse(
[3, 2, 1]
```
A list can be re-ordered _**in place**_ with the help of `<list>.sort()`.
A list can be re-ordered _**in place**_ with the help of [`<list>.sort()`][sort].
Default sort order is _ascending_ from the left.
The Python docs offer [additional tips and techniques for sorting][sorting how to] lists effectively.
The Python docs offer [additional tips and techniques for sorting][sorting how to].
~~~~exercism/note
@@ -266,8 +266,7 @@ For a detailed explanation of names, values, list, and nested list behavior, tak
[set]: https://docs.python.org/3/library/stdtypes.html#set
[shallow vs deep]: https://realpython.com/copying-python-objects/
[slice notation]: https://docs.python.org/3/reference/expressions.html#slicings
[sort]: https://docs.python.org/3/library/stdtypes.html#list.sort
[sorted]: https://docs.python.org/3/library/functions.html#sorted
[sorting how to]: https://docs.python.org/3/howto/sorting.html
[tuple]: https://docs.python.org/3/library/stdtypes.html#tuple

View File

@@ -150,9 +150,9 @@ The `<list>.reverse()` method will reverse the order of elements **in-place**.
```
A list can be re-ordered _**in place**_ with the help of `<list>.sort()`.
A list can be re-ordered _**in place**_ with the help of [`<list>.sort()`][sort].
Default sort order is _ascending_ from the left.
The Python docs offer [additional tips and techniques for sorting][sorting how to] lists effectively.
The Python docs offer [additional tips and techniques for sorting][sorting how to].
~~~~exercism/note
From 2002 to 2022, Python used an algorithm called [`Timsort`][timsort] internally to arrange lists, but switched to [`Powersort`][powersort] from `Python 3.11` onward.
@@ -239,7 +239,6 @@ ValueError: 10 is not in list
3
```
[common sequence operations]: https://docs.python.org/3/library/stdtypes.html#common-sequence-operations
[dict]: https://docs.python.org/3/library/stdtypes.html#dict
[list-methods]: https://docs.python.org/3/tutorial/datastructures.html#more-on-lists
@@ -248,6 +247,7 @@ ValueError: 10 is not in list
[sequence type]: https://docs.python.org/3/library/stdtypes.html#sequence-types-list-tuple-range
[set]: https://docs.python.org/3/library/stdtypes.html#set
[slice notation]: https://docs.python.org/3/reference/expressions.html#slicings
[sort]: https://docs.python.org/3/library/stdtypes.html#list.sort
[sorted]: https://docs.python.org/3/library/functions.html#sorted
[sorting how to]: https://docs.python.org/3/howto/sorting.html
[tuple]: https://docs.python.org/3/library/stdtypes.html#tuple