[Python-bugs-list] [ python-Bugs-421999 ] wrong priority doc for ** vs unary -

noreply@sourceforge.net noreply@sourceforge.net
Wed, 09 May 2001 09:54:38 -0700


Bugs item #421999, was updated on 2001-05-07 05:00
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=421999&group_id=5470

Category: Documentation
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Alex Martelli (aleax)
Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: wrong priority doc for ** vs unary -

Initial Comment:
http://www.python.org/doc/current/ref/summary.html 
documents ** as higher-priority than unary - (by 
placing it in the following line on the precedence 
table).  This is unfortunately false: ** is higher 
priority, so e.g. -2**2 evaluates to -4.  Alas, and 
quite confusing to newbies, but at least it needs to 
be documented right.


----------------------------------------------------------------------

>Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2001-05-09 09:54

Message:
Logged In: YES 
user_id=3066

Fixed in Doc/ref/ref5.tex revisions 1.45 (development
branch) and 1.43.2.1 (maintenance branch).

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=421999&group_id=5470