]> granicus.if.org Git - python/commit
Issue #4707: round(x, n) now returns an integer when x is an integer.
authorMark Dickinson <dickinsm@gmail.com>
Wed, 28 Jan 2009 21:25:58 +0000 (21:25 +0000)
committerMark Dickinson <dickinsm@gmail.com>
Wed, 28 Jan 2009 21:25:58 +0000 (21:25 +0000)
commit1124e71368c73b592020b4896fb1c5d371efbcef
tree3b6b7514894a95a88cfcd3a232c6e074c23bc61e
parent9de29afa7c083a24a5eabfbbc9bb3515e7026745
Issue #4707: round(x, n) now returns an integer when x is an integer.
Previously it returned a float.
Lib/test/test_builtin.py
Lib/test/test_long.py
Misc/NEWS
Objects/longobject.c
Python/bltinmodule.c