summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSkip Montanaro <skip@pobox.com>2004-07-21 02:47:10 (GMT)
committerSkip Montanaro <skip@pobox.com>2004-07-21 02:47:10 (GMT)
commitbf76075a4b32414d8a090ada6d2916a5c1a1cc2d (patch)
treef76c472e08ee6ef059d6f2874e261883de71537f
parent8b3d92a9777d7ea5805c5e3cf0d6b0474fab2d01 (diff)
downloadcpython-bf76075a4b32414d8a090ada6d2916a5c1a1cc2d.zip
cpython-bf76075a4b32414d8a090ada6d2916a5c1a1cc2d.tar.gz
cpython-bf76075a4b32414d8a090ada6d2916a5c1a1cc2d.tar.bz2
fix typo, highlight True/False correctly
-rw-r--r--Doc/lib/libsocksvr.tex8
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/lib/libsocksvr.tex b/Doc/lib/libsocksvr.tex
index 3b5ed0c1..1583385 100644
--- a/Doc/lib/libsocksvr.tex
+++ b/Doc/lib/libsocksvr.tex
@@ -106,7 +106,7 @@ The server classes support the following class variables:
\begin{datadesc}{allow_reuse_address}
Whether the server will allow the reuse of an address. This defaults
-to \code{False}, and can be set in subclasses to change the policy.
+to \constant{False}, and can be set in subclasses to change the policy.
\end{datadesc}
\begin{datadesc}{request_queue_size}
@@ -170,10 +170,10 @@ address. May be overridden.
\end{funcdesc}
\begin{funcdesc}{verify_request}{request, client_address}
-Must return a Boolean value; if the value is true, the request will be
-processed, and if it's false, the request will be denied.
+Must return a Boolean value; if the value is \constant{True}, the request will be
+processed, and if it's \constant{False}, the request will be denied.
This function can be overridden to implement access controls for a server.
-The default implementation always return true.
+The default implementation always returns \constant{True}.
\end{funcdesc}
The request handler class must define a new \method{handle()} method,