From: Anjali Date: Wed, 11 Sep 2019 09:58:27 +0000 (-0500) Subject: bpo-16438: Doc: confusing text regarding numeric precedence corrected (GH-10521) X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4576b5431bd597df7581fe3c852b315e47e4b230;p=python bpo-16438: Doc: confusing text regarding numeric precedence corrected (GH-10521) --- diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index 08c5ae876c..0a565c3e5b 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 |