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

This commit is contained in:
Georg Brandl 2007-09-12 18:05:57 +00:00
parent 0001422a0a
commit bb07a7df91
1 changed files with 1 additions and 1 deletions

View File

@ -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