]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-16438: Doc: confusing text regarding numeric precedence corrected (GH-10521)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 11 Sep 2019 10:41:28 +0000 (03:41 -0700)
committerGitHub <noreply@github.com>
Wed, 11 Sep 2019 10:41:28 +0000 (03:41 -0700)
(cherry picked from commit 4576b5431bd597df7581fe3c852b315e47e4b230)

Co-authored-by: Anjali <anjali30malik@gmail.com>
Doc/library/stdtypes.rst

index b9581ce1c9ae80d9a1236bf1ee3af93da315a765..07282dce00d39869f2ccdaec9575aa63615cbf8e 100644 (file)
@@ -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 |