]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[Bug #1477102] Add necessary import to example
authorAndrew M. Kuchling <amk@amk.ca>
Thu, 27 Apr 2006 12:35:34 +0000 (12:35 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Thu, 27 Apr 2006 12:35:34 +0000 (12:35 +0000)
Doc/lib/libxmlrpclib.tex

index c5422710fcb3c9585601285ebeadf3279574c95e..fed685f8e5e7032767438fb45bba23f8d3472fc1 100644 (file)
@@ -318,6 +318,7 @@ function will raise a \exception{Fault} exception.
 
 \begin{verbatim}
 # simple test program (from the XML-RPC specification)
+from xmlrpclib import ServerProxy
 
 # server = ServerProxy("http://localhost:8000") # local server
 server = ServerProxy("http://betty.userland.com")