[ python-Bugs-1729280 ] Error in example

SourceForge.net noreply at sourceforge.net
Fri Jun 1 05:08:28 CEST 2007


Bugs item #1729280, was opened at 2007-05-31 22:08
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1729280&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Documentation
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: accdak (accdak)
Assigned to: Nobody/Anonymous (nobody)
Summary: Error in example

Initial Comment:
On http://docs.python.org/tut/node5.html the example:
There is full support for floating point; operators with mixed type operands convert the integer operand to floating point:

>>> 3 * 3.75 / 1.5
7.5

is incorrect.  The resulting value is 5.5 not 7.5

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

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


More information about the Python-bugs-list mailing list