8000 [3.10] Doc: use "unnumbered" footnotes (GH-98954) by miss-islington · Pull Request #98960 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

[3.10] Doc: use "unnumbered" footnotes (GH-98954) #98960

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 1, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Doc/tutorial/datastructures.rst
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ An example that uses most of the list methods::

You might have noticed that methods like ``insert``, ``remove`` or ``sort`` that
only modify the list have no return value printed -- they return the default
``None``. [1]_ This is a design principle for all mutable data structures in
``None``. [#]_ This is a design principle for all mutable data structures in
Python.

Another thing you might notice is that not all data can be sorted or
Expand Down Expand Up @@ -731,5 +731,5 @@ interpreter will raise a :exc:`TypeError` exception.

.. rubric:: Footnotes

.. [1] Other languages may return the mutated object, which allows method
.. [#] Other languages may return the mutated object, which allows method
chaining, such as ``d->insert("a")->remove("b")->sort();``.
0