summaryrefslogtreecommitdiffstats
path: root/Doc/liburlparse.tex
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-02-13 06:58:54 (GMT)
committerFred Drake <fdrake@acm.org>1998-02-13 06:58:54 (GMT)
commit1947991c2f85db781fb3fcdc9e3bcfe2905e58e2 (patch)
tree260789493c7151408f009eaa84a7815ce4d28246 /Doc/liburlparse.tex
parentdc8af0acc1fbeec89e43f1ea43bf1a4d016f4fc6 (diff)
downloadcpython-1947991c2f85db781fb3fcdc9e3bcfe2905e58e2.zip
cpython-1947991c2f85db781fb3fcdc9e3bcfe2905e58e2.tar.gz
cpython-1947991c2f85db781fb3fcdc9e3bcfe2905e58e2.tar.bz2
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.
Diffstat (limited to 'Doc/liburlparse.tex')
-rw-r--r--Doc/liburlparse.tex18
1 files changed, 9 insertions, 9 deletions
diff --git a/Doc/liburlparse.tex b/Doc/liburlparse.tex
index 651db6d..32d88ee 100644
--- a/Doc/liburlparse.tex
+++ b/Doc/liburlparse.tex
@@ -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 @@ retained if present.
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 @@ components in the relative URL.
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()}.