Skip to content

Commit

Permalink
[Chaitanas Colossal Coaster]: Removed "effectively" from HOWTO senten…
Browse files Browse the repository at this point in the history
…ce. (#3777)

* Removed effectively from HOWTO sentence.

* Resorted reflinks.
  • Loading branch information
BethanyG authored Sep 27, 2024
1 parent 2a09812 commit 7e38ff1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
7 changes: 3 additions & 4 deletions concepts/list-methods/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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


Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand All @@ -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

0 comments on commit 7e38ff1

Please sign in to comment.