Title: Slight difference: math.floor returns an Integral
Type: behavior Stage: resolved
Components: Documentation Versions: Python 3.1, Python 3.2
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: georg.brandl Nosy List: flox, georg.brandl, r.david.murray
Priority: normal Keywords:

Created on 2009-11-22 18:09 by flox, last changed 2009-11-23 03:16 by r.david.murray. This issue is now closed.

Messages (2)
msg95606 - (view) Author: Florent Xicluna (flox) * (Python committer) Date: 2009-11-22 18:09
The last code snippet on section " How are Docstring Examples
Recognized?" does not output the expected result.

Documentation example:

    >>> assert "Easy!"
          >>> import math
              >>> math.floor(1.9)

Real life (Python 3.1):
    >>> math.floor(1.9)
msg95612 - (view) Author: R. David Murray (r.david.murray) * (Python committer) Date: 2009-11-23 03:16
Fixed in r76448 and r76449.  Thanks for pointing this out.
Date User Action Args
2009-11-23 03:16:50r.david.murraysetstatus: open -> closed
priority: normal
type: behavior

nosy: + r.david.murray
messages: + msg95612
resolution: fixed
stage: resolved
2009-11-22 18:09:55floxcreate