From b8ac0096b223ce6912d883884ad175d24ac40f15 Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Wed, 9 May 2001 16:51:49 +0000 Subject: Fix the operator precedence table: exponentiation binds tighter than negation. This closes SF bug #421999. --- Doc/ref/ref5.tex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/ref/ref5.tex b/Doc/ref/ref5.tex index ec0c6b1..9590ee4 100644 --- a/Doc/ref/ref5.tex +++ b/Doc/ref/ref5.tex @@ -940,11 +940,11 @@ left). \lineii{\code{*}, \code{/}, \code{\%}} {Multiplication, division, remainder} \hline - \lineii{\code{**}} {Exponentiation} - \hline \lineii{\code{+\var{x}}, \code{-\var{x}}} {Positive, negative} \lineii{\code{\~\var{x}}} {Bitwise not} \hline + \lineii{\code{**}} {Exponentiation} + \hline \lineii{\code{\var{x}.\var{attribute}}} {Attribute reference} \lineii{\code{\var{x}[\var{index}]}} {Subscription} \lineii{\code{\var{x}[\var{index}:\var{index}]}} {Slicing} -- cgit v0.12