summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2003-01-17 22:47:33 (GMT)
committerFred Drake <fdrake@acm.org>2003-01-17 22:47:33 (GMT)
commit42b567fce95d133ffe5622cc8aa47ba2ae71a838 (patch)
tree620bb71477d0120cd1c41adec6eab56a00eb1f94 /Doc
parenta8b2e32a7bc8d0cdb518461d4cbdbd58a77d7e30 (diff)
downloadcpython-42b567fce95d133ffe5622cc8aa47ba2ae71a838.zip
cpython-42b567fce95d133ffe5622cc8aa47ba2ae71a838.tar.gz
cpython-42b567fce95d133ffe5622cc8aa47ba2ae71a838.tar.bz2
Fix a couple of markup errors.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/libsimplexmlrpc.tex6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/lib/libsimplexmlrpc.tex b/Doc/lib/libsimplexmlrpc.tex
index 6531b52..44d14f5 100644
--- a/Doc/lib/libsimplexmlrpc.tex
+++ b/Doc/lib/libsimplexmlrpc.tex
@@ -102,7 +102,7 @@ handle XML-RPC requests sent to Python CGI scripts.
\begin{methoddesc}{register_function}{function\optional{, name}}
Register a function that can respond to XML-RPC requests. If
-\var{name] is given, it will be the method name associated with
+\var{name} is given, it will be the method name associated with
function, otherwise \var{function.__name__} will be used. \var{name}
can be either a normal or Unicode string, and may contain
characters not legal in Python identifiers, including the period
@@ -115,7 +115,7 @@ which have not been registered using \method{register_function()}. If
instance contains a \method{_dispatch()} method, it is called with the
requested method name and the parameters from the
request; the return value is returned to the client as the result.
-If instance does not have a \methode{_dispatch()} method, it is searched
+If instance does not have a \method{_dispatch()} method, it is searched
for an attribute matching the name of the requested method; if
the requested method name contains periods, each
component of the method name is searched for individually,
@@ -154,4 +154,4 @@ handler.register_function(lambda x,y: x+y, 'add')
handler.register_introspection_functions()
handler.register_instance(MyFuncs())
handler.handle_request()
-\end{verbatim} \ No newline at end of file
+\end{verbatim}