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 mark.dickinson
Recipients JBernardo, docs@python, mark.dickinson, vajrasky
Date 2013-12-09.08:30:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1386577847.69.0.681233550112.issue19933@psf.upfronthosting.co.za>
In-reply-to
Content
> After patch:
> round(1.23, 0) => 1 not 1.0
> round(4.67, 0) => 5 not 5.0

Please no!  Two-argument round should continue to return a float in all cases.

The docs should be fixed.
History
Date User Action Args
2013-12-09 08:30:47mark.dickinsonsetrecipients: + mark.dickinson, docs@python, JBernardo, vajrasky
2013-12-09 08:30:47mark.dickinsonsetmessageid: <1386577847.69.0.681233550112.issue19933@psf.upfronthosting.co.za>
2013-12-09 08:30:47mark.dickinsonlinkissue19933 messages
2013-12-09 08:30:47mark.dickinsoncreate