[Python-checkins] bpo-43990: Fix the footnote ordering in the operator precedence docs (GH-25805)
rhettinger
webhook-mailer at python.org
Sun May 2 13:29:23 EDT 2021
https://github.com/python/cpython/commit/7d2b83e9f092a2ea1f715fe028f7c48324bee756
commit: 7d2b83e9f092a2ea1f715fe028f7c48324bee756
branch: master
author: Zackery Spytz <zspytz at gmail.com>
committer: rhettinger <rhettinger at users.noreply.github.com>
date: 2021-05-02T10:29:15-07:00
summary:
bpo-43990: Fix the footnote ordering in the operator precedence docs (GH-25805)
Footnotes 5 and 6 were in the wrong order.
files:
M Doc/reference/expressions.rst
diff --git a/Doc/reference/expressions.rst b/Doc/reference/expressions.rst
index 5b153762bf447..5ad640ad35d61 100644
--- a/Doc/reference/expressions.rst
+++ b/Doc/reference/expressions.rst
@@ -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.
More information about the Python-checkins
mailing list