[New-bugs-announce] [issue7377] Slight difference: math.floor returns an Integral

flox report at bugs.python.org
Sun Nov 22 19:09:56 CET 2009

New submission from flox <laxyf at yahoo.fr>:

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)

assignee: georg.brandl
components: Documentation
messages: 95606
nosy: flox, georg.brandl
severity: normal
status: open
title: Slight difference: math.floor returns an Integral
versions: Python 3.1, Python 3.2

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list