Mercurial > cpython-lru_cache-weakref
diff Doc/lib/liburlparse.tex @ 7277:bf4e790bd61a legacy-trunk
Remove all \bcode / \ecode cruft; this is no longer needed. See previous
checkin of myformat.sty.
Change "\renewcommand{\indexsubitem}{(...)}" to "\setindexsubitem{(...)}"
everywhere.
Some other minor nits that I happened to come across.
| author | Fred Drake <fdrake@acm.org> |
|---|---|
| date | Fri, 13 Feb 1998 06:58:54 +0000 |
| parents | 640b97d105df |
| children | 0cbc9df882b6 |
line wrap: on
line diff
--- a/Doc/lib/liburlparse.tex Fri Feb 13 06:48:05 1998 +0000 +++ b/Doc/lib/liburlparse.tex Fri Feb 13 06:58:54 1998 +0000 @@ -7,7 +7,7 @@ \indexii{URL}{parsing} \indexii{relative}{URL} -\renewcommand{\indexsubitem}{(in module urlparse)} +\setindexsubitem{(in module urlparse)} This module defines a standard interface to break URL strings up in components (addessing scheme, network location, path etc.), to combine @@ -35,15 +35,15 @@ Example: -\bcode\begin{verbatim} +\begin{verbatim} urlparse('http://www.cwi.nl:80/%7Eguido/Python.html') -\end{verbatim}\ecode +\end{verbatim} % yields the tuple -\bcode\begin{verbatim} +\begin{verbatim} ('http', 'www.cwi.nl:80', '/%7Eguido/Python.html', '', '', '') -\end{verbatim}\ecode +\end{verbatim} % If the \var{default_scheme} argument is specified, it gives the default addressing scheme, to be used only if the URL string does not @@ -70,15 +70,15 @@ Example: -\bcode\begin{verbatim} +\begin{verbatim} urljoin('http://www.cwi.nl/%7Eguido/Python.html', 'FAQ.html') -\end{verbatim}\ecode +\end{verbatim} % yields the string -\bcode\begin{verbatim} +\begin{verbatim} 'http://www.cwi.nl/%7Eguido/FAQ.html' -\end{verbatim}\ecode +\end{verbatim} % The \var{allow_fragments} argument has the same meaning as for \code{urlparse()}.
