Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bf76075

Browse files
author
Skip Montanaro
committed
fix typo, highlight True/False correctly
1 parent 8b3d92a commit bf76075

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Doc/lib/libsocksvr.tex

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ \section{\module{SocketServer} ---
106106

107107
\begin{datadesc}{allow_reuse_address}
108108
Whether the server will allow the reuse of an address. This defaults
109-
to \code{False}, and can be set in subclasses to change the policy.
109+
to \constant{False}, and can be set in subclasses to change the policy.
110110
\end{datadesc}
111111

112112
\begin{datadesc}{request_queue_size}
@@ -170,10 +170,10 @@ \section{\module{SocketServer} ---
170170
\end{funcdesc}
171171

172172
\begin{funcdesc}{verify_request}{request, client_address}
173-
Must return a Boolean value; if the value is true, the request will be
174-
processed, and if it's false, the request will be denied.
173+
Must return a Boolean value; if the value is \constant{True}, the request will be
174+
processed, and if it's \constant{False}, the request will be denied.
175175
This function can be overridden to implement access controls for a server.
176-
The default implementation always return true.
176+
The default implementation always returns \constant{True}.
177177
\end{funcdesc}
178178

179179
The request handler class must define a new \method{handle()} method,

0 commit comments

Comments
 (0)