[issue4707] round() shows undocumented behaviour
Mark Dickinson
report at bugs.python.org
Sat Dec 20 18:33:00 CET 2008
Mark Dickinson <dickinsm at gmail.com> added the comment:
Looks like a bug to me. I get the expected behaviour on my machine.
Python 3.0+ (release30-maint:67878, Dec 20 2008, 17:31:44)
[GCC 4.0.1 (Apple Inc. build 5490)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> round(25, -1)
20.0
>>> round(25.0, -1)
20.0
What system are you on?
----------
nosy: +marketdickinson
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4707>
_______________________________________
More information about the Python-bugs-list
mailing list