]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[Bug #1041501] Fix example code
authorAndrew M. Kuchling <amk@amk.ca>
Fri, 8 Oct 2004 18:35:46 +0000 (18:35 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Fri, 8 Oct 2004 18:35:46 +0000 (18:35 +0000)
Doc/lib/libsimplexmlrpc.tex

index 44d14f5847319ac87301f7c4e60238e3074e6e9f..f9afce0e188519eb4045a43ac763f9e6e56ce573 100644 (file)
@@ -84,7 +84,7 @@ Example:
 
 \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))