]> granicus.if.org Git - python/commitdiff
bpo-16438: Doc: confusing text regarding numeric precedence corrected (GH-10521)
authorAnjali <anjali30malik@gmail.com>
Wed, 11 Sep 2019 09:58:27 +0000 (04:58 -0500)
committerJulien Palard <julien@palard.fr>
Wed, 11 Sep 2019 09:58:27 +0000 (11:58 +0200)
Doc/library/stdtypes.rst

index 08c5ae876c1b9d4bda26752e3454a14b54cc7b1a..0a565c3e5b6b8c24d317aa62460293b5ec5ef78f 100644 (file)
@@ -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 |