[Python-checkins] bpo-16438: Doc: confusing text regarding numeric precedence corrected (GH-10521)

Julien Palard webhook-mailer at python.org
Wed Sep 11 05:58:31 EDT 2019


https://github.com/python/cpython/commit/4576b5431bd597df7581fe3c852b315e47e4b230
commit: 4576b5431bd597df7581fe3c852b315e47e4b230
branch: master
author: Anjali <anjali30malik at gmail.com>
committer: Julien Palard <julien at palard.fr>
date: 2019年09月11日T11:58:27+02:00
summary:
bpo-16438: Doc: confusing text regarding numeric precedence corrected (GH-10521)
files:
M Doc/library/stdtypes.rst
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst
index 08c5ae876c1b..0a565c3e5b6b 100644
--- a/Doc/library/stdtypes.rst
+++ b/Doc/library/stdtypes.rst
@@ -265,9 +265,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

AltStyle によって変換されたページ (->オリジナル) /