Kaydet (Commit) bb07a7df authored tarafından Georg Brandl's avatar Georg Brandl

Bug #1152: use non-deprecated name in example.

üst 0001422a
......@@ -162,7 +162,7 @@ server::
import xmlrpclib
s = xmlrpclib.Server('http://localhost:8000')
s = xmlrpclib.ServerProxy('http://localhost:8000')
print s.pow(2,3) # Returns 2**3 = 8
print s.add(2,3) # Returns 5
print s.div(5,2) # Returns 5//2 = 2
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment