When the argument is not Python floating, there is a difference in behavior between Python 2 and 3.
Python 2.x, round() float. Python 3.x, round() __round__. __round__ . , int, int.
math.ceil, math.floor math.trunc. __ceil__, __floor__ __trunc__.
. PEP 3141