This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author flox
Recipients flox, georg.brandl
Date 2009-11-22.18:09:54
SpamBayes Score 3.5140678e-05
Marked as misclassified No
Message-id <1258913396.31.0.675484209097.issue7377@psf.upfronthosting.co.za>
In-reply-to
Content
The last code snippet on section "25.2.3.2 How are Docstring Examples
Recognized?" does not output the expected result.
http://docs.python.org/dev/py3k/library/doctest.html#how-are-docstring-examples-recognized


Documentation example:

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

Real life (Python 3.1):
    >>> math.floor(1.9)
    1
History
Date User Action Args
2009-11-22 18:09:56floxsetrecipients: + flox, georg.brandl
2009-11-22 18:09:56floxsetmessageid: <1258913396.31.0.675484209097.issue7377@psf.upfronthosting.co.za>
2009-11-22 18:09:55floxlinkissue7377 messages
2009-11-22 18:09:54floxcreate