
report at bugs
Nov 22, 2009, 10:09 AM
Post #1 of 2
(161 views)
Permalink
|
|
[issue7377] Slight difference: math.floor returns an Integral
|
|
New submission from flox <laxyf [at] yahoo>: 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 ---------- 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> <http://bugs.python.org/issue7377> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
|