Skip to content

Commit f042646

Browse files
authored
Doc: use "unnumbered" footnotes (#98954)
Use unnumbered footnote in this file to avoid reseting the footnotes numbering. Example: when building the tutorial into a PDF and using `latex_show_urls = "footnotes"`; this footnote become the number 8. However, without this change, the footnote shows the number 1.
1 parent 395d428 commit f042646

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/tutorial/datastructures.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ An example that uses most of the list methods::
122122

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

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

732732
.. rubric:: Footnotes
733733

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

0 commit comments

Comments
 (0)