Fix the operator precedence table: exponentiation binds tighter than

negation.

This closes SF bug #421999.
This commit is contained in:
Fred Drake 2001-05-09 16:51:49 +00:00
parent 251ebe7d30
commit b8ac0096b2
1 changed files with 2 additions and 2 deletions

View File

@ -939,11 +939,11 @@ left).
\hline
\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}