Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 45ca333

Browse files
committed
Move references to RFCs to a "See also" section for consistency with
other sections of the library reference.
1 parent 9fa4d61 commit 45ca333

1 file changed

Lines changed: 16 additions & 5 deletions

File tree

Doc/lib/liburlparse.tex

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ \section{\module{urlparse} ---
1818

1919
The module has been designed to match the Internet RFC on Relative
2020
Uniform 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

2423
It defines the following functions:
2524

@@ -40,13 +39,13 @@ \section{\module{urlparse} ---
4039
\begin{verbatim}
4140
urlparse('http://www.cwi.nl:80/%7Eguido/Python.html')
4241
\end{verbatim}
43-
%
42+
4443
yields the tuple
4544

4645
\begin{verbatim}
4746
('http', 'www.cwi.nl:80', '/%7Eguido/Python.html', '', '', '')
4847
\end{verbatim}
49-
%
48+
5049
If the \var{default_scheme} argument is specified, it gives the
5150
default addressing scheme, to be used only if the URL string does not
5251
specify one. The default value for this argument is the empty string.
@@ -75,7 +74,7 @@ \section{\module{urlparse} ---
7574
\begin{verbatim}
7675
urljoin('http://www.cwi.nl/%7Eguido/Python.html', 'FAQ.html')
7776
\end{verbatim}
78-
%
77+
7978
yields the string
8079

8180
\begin{verbatim}
@@ -85,3 +84,15 @@ \section{\module{urlparse} ---
8584
The \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

Comments
 (0)