summaryrefslogtreecommitdiffstats
path: root/Doc/lib
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2004-07-10 18:28:33 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2004-07-10 18:28:33 (GMT)
commit300ce195920942926bcaee7dda765a27c4f7cf65 (patch)
tree16d4c8ccfb7c3c245eff1c26c8476b9e9cffa509 /Doc/lib
parent0fff6c86512283d081f72332f458aa4193e51a81 (diff)
downloadcpython-300ce195920942926bcaee7dda765a27c4f7cf65.zip
cpython-300ce195920942926bcaee7dda765a27c4f7cf65.tar.gz
cpython-300ce195920942926bcaee7dda765a27c4f7cf65.tar.bz2
[Patch #972310] Apply correction to docs
Diffstat (limited to 'Doc/lib')
-rw-r--r--Doc/lib/liburllib2.tex13
1 files changed, 3 insertions, 10 deletions
diff --git a/Doc/lib/liburllib2.tex b/Doc/lib/liburllib2.tex
index 3ce95fb..4003e3b 100644
--- a/Doc/lib/liburllib2.tex
+++ b/Doc/lib/liburllib2.tex
@@ -365,15 +365,14 @@ of \function{urlopen()}.
OpenerDirector objects open URLs in three stages:
+The order in which these methods are called within each stage is
+determined by sorting the handler instances.
+
\begin{enumerate}
\item Every handler with a method named like
\method{\var{protocol}_request()} has that method called to
pre-process the request.
- The order in which these methods are called is determined by
- sorting the handler instances by the \member{.processor_order}
- attribute.
-
\item Handlers with a method named like
\method{\var{protocol}_open()} are called to handle the request.
This stage ends when a handler either returns a
@@ -391,16 +390,10 @@ OpenerDirector objects open URLs in three stages:
the parent \class{OpenerDirector} instance's \method{.open()} and
\method{.error()} methods.
- The order in which these methods are called is determined by
- sorting the handler instances.
-
\item Every handler with a method named like
\method{\var{protocol}_response()} has that method called to
post-process the response.
- The order in which these methods are called is determined by
- sorting the handler instances by the \member{.processor_order}
- attribute.
\end{enumerate}
\subsection{BaseHandler Objects \label{base-handler-objects}}