bpo-16438: Doc: confusing text regarding numeric precedence corrected (GH-10521)

(cherry picked from commit 4576b5431b)

Co-authored-by: Anjali <anjali30malik@gmail.com>
This commit is contained in:
Miss Islington (bot) 2019-09-11 03:41:28 -07:00 committed by GitHub
parent 5fe153c21d
commit 9210b5826f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 3 deletions

View 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 |