[Python-bugs-list] [ python-Bugs-621708 ] Unclear deprecation referant:cuto-pasto?
noreply@sourceforge.net
noreply@sourceforge.net
Fri, 11 Oct 2002 14:00:45 -0700
Bugs item #621708, was opened at 2002-10-10 23:33
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=621708&group_id=5470
Category: Documentation
Group: Python 2.2.2
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Scott David Daniels (scott_daniels)
Assigned to: Raymond Hettinger (rhettinger)
Summary: Unclear deprecation referant:cuto-pasto?
Initial Comment:
In the Language Reference (Python Reference Manual),
Section 5.6 Binary arithmetic operations,
At the end of the portion on "the % (modulo) operator,"
I see the following pair of paragraphs:
Complex floor division operator, modulo
operator, and divmod().
*Deprecated since release 2.3.* Instead convert to
float using abs() if appropriate.
The first paragraph is not a sentence (and I do not
understand what sentence it wants to be). In the
second It is not clear what is being deprecated.
I suspect lost text.
I would also suggest a link to string formatting info on
this page, since this is where I went to look (expecting
to find the operator % to mention the string uses).
----------------------------------------------------------------------
>Comment By: Raymond Hettinger (rhettinger)
Date: 2002-10-11 16:00
Message:
Logged In: YES
user_id=80475
Replaced with:
*Deprecated since release 2.3* the floor division operator,
the modulo operator, and the divmod() function are no
longer defined for complex numbers. Instead, convert to a
floating point number using the abs() function if
appropriate.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=621708&group_id=5470