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

Skip to content

Commit 4785246

Browse files
committed
Markup adjustments to avoid getting junk in the index.
1 parent 1b0feb4 commit 4785246

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

Doc/lib/liburllib2.tex

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ \section{\module{urllib2} ---
115115
If \var{proxies} is given, it must be a dictionary mapping
116116
protocol names to URLs of proxies.
117117
The default is to read the list of proxies from the environment
118-
variables \envvar{\var{protocol}_proxy}.
118+
variables \var{protocol}_proxy.
119119
\end{classdesc}
120120

121121
\begin{classdesc}{HTTPPasswordMgr}{}
@@ -338,15 +338,15 @@ \subsection{BaseHandler Objects \label{base-handler-objects}}
338338
This method will be called before any protocol-specific open method.
339339
\end{methoddesc}
340340

341-
\begin{methoddesc}[BaseHandler]{\var{protocol}_open}{req}
341+
\begin{methoddescni}[BaseHandler]{\var{protocol}_open}{req}
342342
This method is \emph{not} defined in \class{BaseHandler}, but
343343
subclasses should define it if they want to handle URLs with the given
344344
protocol.
345345

346346
This method, if defined, will be called by the \member{parent}
347347
\class{OpenerDirector}. Return values should be the same as for
348348
\method{default_open()}.
349-
\end{methoddesc}
349+
\end{methoddescni}
350350

351351
\begin{methoddesc}[BaseHandler]{unknown_open}{req}
352352
This method is \var{not} defined in \class{BaseHandler}, but
@@ -410,14 +410,14 @@ \subsection{HTTPRedirectHandler Objects \label{http-redirect-handler}}
410410

411411
\subsection{ProxyHandler Objects \label{proxy-handler}}
412412

413-
\begin{methoddesc}[ProxyHandler]{\var{protocol}_open}{request}
413+
\begin{methoddescni}[ProxyHandler]{\var{protocol}_open}{request}
414414
The \class{ProxyHandler} will have a method
415415
\method{\var{protocol}_open()} for every \var{protocol} which has a
416416
proxy in the \var{proxies} dictionary given in the constructor. The
417417
method will modify requests to go through the proxy, by calling
418418
\code{request.set_proxy()}, and call the next handler in the chain to
419419
actually execute the protocol.
420-
\end{methoddesc}
420+
\end{methoddescni}
421421

422422

423423
\subsection{HTTPPasswordMgr Objects \label{http-password-mgr}}

0 commit comments

Comments
 (0)