diff options
author | Guido van Rossum <guido@python.org> | 1997-07-17 16:34:52 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1997-07-17 16:34:52 +0000 |
commit | 5578e257e2e7d27a5c03deac1429af90e5af4306 (patch) | |
tree | a14389f6c9367d416d57a70b37eaeaa8a4bf7de3 /Doc/lib/liburlparse.tex | |
parent | 9cbf1c520ba933495a2fe9298f037897fb23965c (diff) | |
download | cpython-5578e257e2e7d27a5c03deac1429af90e5af4306.tar.gz |
AMK's megapatch:
* \bcode, \ecode added everywhere
* \label{module-foo} added everywhere
* A few \seealso sections added.
* Indentation fixed inside verbatim in lib*tex files
Diffstat (limited to 'Doc/lib/liburlparse.tex')
-rw-r--r-- | Doc/lib/liburlparse.tex | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/Doc/lib/liburlparse.tex b/Doc/lib/liburlparse.tex index 36ca949ba6..76fd9f8263 100644 --- a/Doc/lib/liburlparse.tex +++ b/Doc/lib/liburlparse.tex @@ -1,4 +1,5 @@ \section{Standard Module \sectcode{urlparse}} +\label{module-urlparse} \stmodindex{urlparse} \index{WWW} \index{World-Wide Web} @@ -34,16 +35,16 @@ retained if present. Example: -\begin{verbatim} +\bcode\begin{verbatim} urlparse('http://www.cwi.nl:80/%7Eguido/Python.html') -\end{verbatim} - +\end{verbatim}\ecode +% yields the tuple -\begin{verbatim} +\bcode\begin{verbatim} ('http', 'www.cwi.nl:80', '/%7Eguido/Python.html', '', '', '') -\end{verbatim} - +\end{verbatim}\ecode +% If the \var{default_scheme} argument is specified, it gives the default addressing scheme, to be used only if the URL string does not specify one. The default value for this argument is the empty string. @@ -69,16 +70,16 @@ components in the relative URL. Example: -\begin{verbatim} +\bcode\begin{verbatim} urljoin('http://www.cwi.nl/%7Eguido/Python.html', 'FAQ.html') -\end{verbatim} - +\end{verbatim}\ecode +% yields the string -\begin{verbatim} +\bcode\begin{verbatim} 'http://www.cwi.nl/%7Eguido/FAQ.html' -\end{verbatim} - +\end{verbatim}\ecode +% The \var{allow_fragments} argument has the same meaning as for \code{urlparse}. \end{funcdesc} |