diff options
author | Guido van Rossum <guido@python.org> | 1995-03-17 16:07:09 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1995-03-17 16:07:09 (GMT) |
commit | 470be14c8aa23a35a1f4d1f1260a66a85d3f3cd9 (patch) | |
tree | 4fd0b8eda81e63366598e55362ceac85adafccb4 /Doc/lib/liburlparse.tex | |
parent | 7760cdea81166b7741561043c58dae171811fb2f (diff) | |
download | cpython-470be14c8aa23a35a1f4d1f1260a66a85d3f3cd9.zip cpython-470be14c8aa23a35a1f4d1f1260a66a85d3f3cd9.tar.gz cpython-470be14c8aa23a35a1f4d1f1260a66a85d3f3cd9.tar.bz2 |
mass changes; fix titles; add examples; correct typos; clarifications;
unified style; etc.
Diffstat (limited to 'Doc/lib/liburlparse.tex')
-rw-r--r-- | Doc/lib/liburlparse.tex | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Doc/lib/liburlparse.tex b/Doc/lib/liburlparse.tex index 6fa2a37..c35d032 100644 --- a/Doc/lib/liburlparse.tex +++ b/Doc/lib/liburlparse.tex @@ -1,7 +1,7 @@ -\section{Built-in module \sectcode{urlparse}} +\section{Standard Module \sectcode{urlparse}} \stmodindex{urlparse} \index{WWW} -\indexii{World-Wide}{Web} +\index{World-Wide Web} \index{URL} \indexii{URL}{parsing} \indexii{relative}{URL} @@ -28,14 +28,14 @@ identifier). This corresponds to the general structure of a URL: Each tuple item is a string, possibly empty. The components are not broken up in smaller parts (e.g. the network location is a single string), and \% escapes are not expanded. -The delimiters as shown above are not part of the tuple items, {\em -except} for a leading slash in the \var{path} component, which is -kept if present. +The delimiters as shown above are not part of the tuple items, +except for a leading slash in the \var{path} component, which is +retained if present. Example: \code{urlparse('http://www.cwi.nl:80/\%7eguido/Python.html')} yields the tuple -\code{('http', 'www.cwi.nl:80', '/\%e7guido/Python.html', '', '', '')}. +\code{('http', 'www.cwi.nl:80', '/\%7eguido/Python.html', '', '', '')}. If the \var{default_scheme} argument is specified, it gives the default addressing scheme, to be used only if the URL string does not |