Commit 0308ff86 authored by Fred Drake's avatar Fred Drake

Add reference to RFC 2396 in "See also" section.

Minor cleanups.
parent 21801de6
\section{\module{urlparse} --- \section{\module{urlparse} ---
Parse URLs into components.} Parse URLs into components}
\declaremodule{standard}{urlparse} \declaremodule{standard}{urlparse}
\modulesynopsis{Parse URLs into components.} \modulesynopsis{Parse URLs into components.}
...@@ -11,10 +11,11 @@ ...@@ -11,10 +11,11 @@
\indexii{relative}{URL} \indexii{relative}{URL}
This module defines a standard interface to break URL strings up in This module defines a standard interface to break Uniform Resource
components (addressing scheme, network location, path etc.), to combine Locator (URL) strings up in components (addressing scheme, network
the components back into a URL string, and to convert a ``relative location, path etc.), to combine the components back into a URL
URL'' to an absolute URL given a ``base URL.'' string, and to convert a ``relative URL'' to an absolute URL given a
``base URL.''
The module has been designed to match the Internet RFC on Relative The module has been designed to match the Internet RFC on Relative
Uniform Resource Locators (and discovered a bug in an earlier Uniform Resource Locators (and discovered a bug in an earlier
...@@ -80,7 +81,7 @@ yields the string ...@@ -80,7 +81,7 @@ yields the string
\begin{verbatim} \begin{verbatim}
'http://www.cwi.nl/%7Eguido/FAQ.html' 'http://www.cwi.nl/%7Eguido/FAQ.html'
\end{verbatim} \end{verbatim}
%
The \var{allow_fragments} argument has the same meaning as for The \var{allow_fragments} argument has the same meaning as for
\code{urlparse()}. \code{urlparse()}.
\end{funcdesc} \end{funcdesc}
...@@ -95,4 +96,8 @@ The \var{allow_fragments} argument has the same meaning as for ...@@ -95,4 +96,8 @@ The \var{allow_fragments} argument has the same meaning as for
absolute and a relative URL, including a fair normal of absolute and a relative URL, including a fair normal of
``Abnormal Examples'' which govern the treatment of border ``Abnormal Examples'' which govern the treatment of border
cases.} cases.}
\seerfc{2396}{Uniform Resource Identifiers (URI): Generic Syntax}{
Document describing the generic syntactic requirements for
both Uniform Resource Names (URNs) and Uniform Resource
Locators (URLs).}
\end{seealso} \end{seealso}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment