summaryrefslogtreecommitdiffstats
path: root/Doc/lib
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-05-11 15:46:45 (GMT)
committerFred Drake <fdrake@acm.org>2001-05-11 15:46:45 (GMT)
commit47852467f505eabc74ba352bf527482d05497f70 (patch)
treed67ab7c08d458e195993b4216408b55300422be4 /Doc/lib
parent1b0feb4ada9b1ff604f9d3100254f9071a96713f (diff)
downloadcpython-47852467f505eabc74ba352bf527482d05497f70.zip
cpython-47852467f505eabc74ba352bf527482d05497f70.tar.gz
cpython-47852467f505eabc74ba352bf527482d05497f70.tar.bz2
Markup adjustments to avoid getting junk in the index.
Diffstat (limited to 'Doc/lib')
-rw-r--r--Doc/lib/liburllib2.tex10
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/lib/liburllib2.tex b/Doc/lib/liburllib2.tex
index d754a72..ddf89ee 100644
--- a/Doc/lib/liburllib2.tex
+++ b/Doc/lib/liburllib2.tex
@@ -115,7 +115,7 @@ Cause requests to go through a proxy.
If \var{proxies} is given, it must be a dictionary mapping
protocol names to URLs of proxies.
The default is to read the list of proxies from the environment
-variables \envvar{\var{protocol}_proxy}.
+variables \var{protocol}_proxy.
\end{classdesc}
\begin{classdesc}{HTTPPasswordMgr}{}
@@ -338,7 +338,7 @@ example, \exception{MemoryError} should not be mapped to
This method will be called before any protocol-specific open method.
\end{methoddesc}
-\begin{methoddesc}[BaseHandler]{\var{protocol}_open}{req}
+\begin{methoddescni}[BaseHandler]{\var{protocol}_open}{req}
This method is \emph{not} defined in \class{BaseHandler}, but
subclasses should define it if they want to handle URLs with the given
protocol.
@@ -346,7 +346,7 @@ protocol.
This method, if defined, will be called by the \member{parent}
\class{OpenerDirector}. Return values should be the same as for
\method{default_open()}.
-\end{methoddesc}
+\end{methoddescni}
\begin{methoddesc}[BaseHandler]{unknown_open}{req}
This method is \var{not} defined in \class{BaseHandler}, but
@@ -410,14 +410,14 @@ temporary-redirect response.
\subsection{ProxyHandler Objects \label{proxy-handler}}
-\begin{methoddesc}[ProxyHandler]{\var{protocol}_open}{request}
+\begin{methoddescni}[ProxyHandler]{\var{protocol}_open}{request}
The \class{ProxyHandler} will have a method
\method{\var{protocol}_open()} for every \var{protocol} which has a
proxy in the \var{proxies} dictionary given in the constructor. The
method will modify requests to go through the proxy, by calling
\code{request.set_proxy()}, and call the next handler in the chain to
actually execute the protocol.
-\end{methoddesc}
+\end{methoddescni}
\subsection{HTTPPasswordMgr Objects \label{http-password-mgr}}