summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorAnjali <anjali30malik@gmail.com>2019-09-11 09:58:27 (GMT)
committerJulien Palard <julien@palard.fr>2019-09-11 09:58:27 (GMT)
commit4576b5431bd597df7581fe3c852b315e47e4b230 (patch)
tree80227a105dd66a90a4374f4ca0b895c5a8873c1b /Doc
parent92521fea5d0d4aeb9b6a3c3fdd4654af700ad5c8 (diff)
downloadcpython-4576b5431bd597df7581fe3c852b315e47e4b230.zip
cpython-4576b5431bd597df7581fe3c852b315e47e4b230.tar.gz
cpython-4576b5431bd597df7581fe3c852b315e47e4b230.tar.bz2
bpo-16438: Doc: confusing text regarding numeric precedence corrected (GH-10521)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/stdtypes.rst5
1 files changed, 2 insertions, 3 deletions
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst
index 08c5ae8..0a565c3 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 |