summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2004-10-08 18:34:47 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2004-10-08 18:34:47 (GMT)
commit293dc9d70f2267631445917032e4a6550128a706 (patch)
tree89191102a3709b6a7592dcd51e512e14762f944a
parentcebdd3c8f15b7c07ae38dc0849721797d6891c12 (diff)
downloadcpython-293dc9d70f2267631445917032e4a6550128a706.zip
cpython-293dc9d70f2267631445917032e4a6550128a706.tar.gz
cpython-293dc9d70f2267631445917032e4a6550128a706.tar.bz2
[Bug #1041501] Fix example code
-rw-r--r--Doc/lib/libsimplexmlrpc.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/lib/libsimplexmlrpc.tex b/Doc/lib/libsimplexmlrpc.tex
index dd486d9..89db62b 100644
--- a/Doc/lib/libsimplexmlrpc.tex
+++ b/Doc/lib/libsimplexmlrpc.tex
@@ -89,7 +89,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))