@@ -18,8 +18,7 @@ \section{\module{urlparse} ---
1818
1919The module has been designed to match the Internet RFC on Relative
2020Uniform Resource Locators (and discovered a bug in an earlier
21- draft!). Refer to \rfc {1808} for details on relative
22- URLs and \rfc {1738} for information on basic URL syntax.
21+ draft!).
2322
2423It defines the following functions:
2524
@@ -40,13 +39,13 @@ \section{\module{urlparse} ---
4039\begin {verbatim }
4140urlparse('http://www.cwi.nl:80/%7Eguido/Python.html')
4241\end {verbatim }
43- %
42+
4443yields the tuple
4544
4645\begin {verbatim }
4746('http', 'www.cwi.nl:80', '/%7Eguido/Python.html', '', '', '')
4847\end {verbatim }
49- %
48+
5049If the \var {default_scheme} argument is specified, it gives the
5150default addressing scheme, to be used only if the URL string does not
5251specify one. The default value for this argument is the empty string.
@@ -75,7 +74,7 @@ \section{\module{urlparse} ---
7574\begin {verbatim }
7675urljoin('http://www.cwi.nl/%7Eguido/Python.html', 'FAQ.html')
7776\end {verbatim }
78- %
77+
7978yields the string
8079
8180\begin {verbatim }
@@ -85,3 +84,15 @@ \section{\module{urlparse} ---
8584The \var {allow_fragments} argument has the same meaning as for
8685\code {urlparse()}.
8786\end {funcdesc }
87+
88+
89+ \begin {seealso }
90+ \seerfc {1738}{Uniform Resource Locators (URL)}{
91+ This specifies the formal syntax and semantics of absolute
92+ URLs.}
93+ \seerfc {1808}{Relative Uniform Resource Locators}{
94+ This Request For Comments includes the rules for joining an
95+ absolute and a relative URL, including a fair normal of
96+ `` Abnormal Examples'' which govern the treatment of border
97+ cases.}
98+ \end {seealso }
0 commit comments