From 9210b5826fab5248ac28a15c1b8b39ae949d0ef8 Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Wed, 11 Sep 2019 03:41:28 -0700 Subject: [PATCH] bpo-16438: Doc: confusing text regarding numeric precedence corrected (GH-10521) (cherry picked from commit 4576b5431bd597df7581fe3c852b315e47e4b230) Co-authored-by: Anjali --- Doc/library/stdtypes.rst | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index b9581ce1c9a..07282dce00d 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 |