diff Doc/lib/libsimplexmlrpc.tex @ 33691:d8fff706a9c2 legacy-trunk

[Bug #1041501] Fix example code
author Andrew M. Kuchling <amk@amk.ca>
date Fri, 08 Oct 2004 18:34:47 +0000
parents b14f7ee25d50
children b846dd1b9751 8c8022b81f02
line wrap: on
line diff
--- a/Doc/lib/libsimplexmlrpc.tex	Fri Oct 08 18:29:29 2004 +0000
+++ b/Doc/lib/libsimplexmlrpc.tex	Fri Oct 08 18:34:47 2004 +0000
@@ -89,7 +89,7 @@
 
 \begin{verbatim}
 class MyFuncs:
-    def div(self, x, y) : return div(x,y)
+    def div(self, x, y) : return x // y
 
 
 server = SimpleXMLRPCServer(("localhost", 8000))