Closes #18267: use floor division in code example

This commit is contained in:
Andrew Kuchling 2013-06-20 21:33:05 -04:00
parent 1d7d580d0e
commit c3db3739aa

View file

@ -449,7 +449,7 @@ A usage example of this class follows. The server code ::
return x*y return x*y
def divide(x, y): def divide(x, y):
return x/y return x // y
# A simple server with simple arithmetic functions # A simple server with simple arithmetic functions
server = SimpleXMLRPCServer(("localhost", 8000)) server = SimpleXMLRPCServer(("localhost", 8000))