]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-43990: Fix the footnote ordering in the operator precedence docs (GH-25805)
authorZackery Spytz <zspytz@gmail.com>
Sun, 2 May 2021 17:29:15 +0000 (10:29 -0700)
committerGitHub <noreply@github.com>
Sun, 2 May 2021 17:29:15 +0000 (10:29 -0700)
Footnotes 5 and 6 were in the wrong order.

Doc/reference/expressions.rst

index 5b153762bf4477d6ca6ead5e276b33cd05b5577f..5ad640ad35d61550645c2729f845107b92593899 100644 (file)
@@ -1920,8 +1920,8 @@ precedence and have a left-to-right chaining feature as described in the
    the :keyword:`is` operator, like those involving comparisons between instance
    methods, or constants.  Check their documentation for more info.
 
-.. [#] The ``%`` operator is also used for string formatting; the same
-   precedence applies.
-
 .. [#] The power operator ``**`` binds less tightly than an arithmetic or
    bitwise unary operator on its right, that is, ``2**-1`` is ``0.5``.
+
+.. [#] The ``%`` operator is also used for string formatting; the same
+   precedence applies.