[issue18267] xmlrpc.client documentation multicall example missleading for division behaviour of python3

Bernhard Reiter report at bugs.python.org
Sun Jun 23 23:09:23 CEST 2013


Bernhard Reiter added the comment:

Andrew,
thanks for caring!

Seeing your fix 2a3bc6eb2e13 I believe it does not fully resolv the issue.
Now the code reads
 "return x // y"
  "multicall.divide(7,3)"
and the client prints
 "7/3=2"

I think you probably should change "7/3=" to "7//3=" in the client code as well
to be instructive to learners.

By the way: your change also introduced whitespace around the operator. Now it is the only one out of the four. I guess they should be consistent.

----------
resolution: fixed -> 
status: closed -> open

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18267>
_______________________________________


More information about the Python-bugs-list mailing list