[Python-bugs-list] [ python-Bugs-634069 ] Errors in ** docs
noreply@sourceforge.net
noreply@sourceforge.net
Wed, 06 Nov 2002 22:58:48 -0800
Bugs item #634069, was opened at 2002-11-05 16:32
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=634069&group_id=5470
Category: Documentation
>Group: Python 2.2.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Tim Peters (tim_one)
>Assigned to: Tim Peters (tim_one)
Summary: Errors in ** docs
Initial Comment:
Section 5.4 "The power operator" is out of date:
1. Raising a postive int to a negative int power no longer
raises TypeError (it returns a float).
2. It's unclear what "a broken power" means. Raising a
negative float to a non-integer power raises ValueError
(not TypeError), if that's what it means.
----------------------------------------------------------------------
>Comment By: Raymond Hettinger (rhettinger)
Date: 2002-11-07 01:58
Message:
Logged In: YES
user_id=80475
Tim, how does this patch look to you?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=634069&group_id=5470