[Python-checkins] bpo-16438: Doc: confusing text regarding numeric precedence corrected (GH-10521)
Miss Islington (bot)
webhook-mailer at python.org
Wed Sep 11 06:41:31 EDT 2019
https://github.com/python/cpython/commit/9210b5826fab5248ac28a15c1b8b39ae949d0ef8
commit: 9210b5826fab5248ac28a15c1b8b39ae949d0ef8
branch: 3.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2019-09-11T03:41:28-07:00
summary:
bpo-16438: Doc: confusing text regarding numeric precedence corrected (GH-10521)
(cherry picked from commit 4576b5431bd597df7581fe3c852b315e47e4b230)
Co-authored-by: Anjali <anjali30malik at gmail.com>
files:
M Doc/library/stdtypes.rst
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst
index b9581ce1c9ae..07282dce00d3 100644
--- a/Doc/library/stdtypes.rst
+++ b/Doc/library/stdtypes.rst
@@ -267,9 +267,8 @@ which is narrower than complex. Comparisons between numbers of mixed type use
the same rule. [2]_ The constructors :func:`int`, :func:`float`, and
:func:`complex` can be used to produce numbers of a specific type.
-All numeric types (except complex) support the following operations, sorted by
-ascending priority (all numeric operations have a higher priority than
-comparison operations):
+All numeric types (except complex) support the following operations (for priorities of
+the operations, see :ref:`operator-summary`):
+---------------------+---------------------------------+---------+--------------------+
| Operation | Result | Notes | Full documentation |
More information about the Python-checkins
mailing list