[New-bugs-announce] [issue16438] Numeric operator predecence confusing

Yongzhi Pan report at bugs.python.org
Thu Nov 8 15:19:31 CET 2012

New submission from Yongzhi Pan:


"All numeric types (except complex) support the following operations, sorted by ascending priority."

It list '-' after '+', '/' after '*'. That is to mean '-' has higher precedence than '+'. That is wrong, and is contradicting with here:


This should be made clear.

assignee: docs at python
components: Documentation
messages: 175163
nosy: docs at python, fossilet
priority: normal
severity: normal
status: open
title: Numeric operator predecence confusing
versions: Python 2.7, Python 3.2, Python 3.3, Python 3.4

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list