]> granicus.if.org Git - python/commitdiff
[Bug #1041501] Fix example
authorAndrew M. Kuchling <amk@amk.ca>
Sun, 4 Dec 2005 17:17:46 +0000 (17:17 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Sun, 4 Dec 2005 17:17:46 +0000 (17:17 +0000)
Doc/lib/libsimplexmlrpc.tex

index ad8ccd483b17b97bc23fa14ff6cf40ab1a0bfa71..e4ca0ea28de4f6eae8aa97de422e62742cd0c852 100644 (file)
@@ -206,7 +206,7 @@ Example:
 
 \begin{verbatim}
 class MyFuncs:
-    def div(self, x, y) : return div(x,y)
+    def div(self, x, y) : return x // y
 
 
 handler = CGIXMLRPCRequestHandler()