[Python-checkins] CVS: python/dist/src/Doc/lib liburlparse.tex,1.16,1.17
Fred L. Drake
python-dev@python.org
Wed, 23 Aug 2000 21:58:28 -0700
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory slayer.i.sourceforge.net:/tmp/cvs-serv23674/lib
Modified Files:
liburlparse.tex
Log Message:
Move references to RFCs to a "See also" section for consistency with
other sections of the library reference.
Index: liburlparse.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/liburlparse.tex,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -r1.16 -r1.17
*** liburlparse.tex 2000/07/16 19:01:10 1.16
--- liburlparse.tex 2000/08/24 04:58:25 1.17
***************
*** 19,24 ****
The module has been designed to match the Internet RFC on Relative
Uniform Resource Locators (and discovered a bug in an earlier
! draft!). Refer to \rfc{1808} for details on relative
! URLs and \rfc{1738} for information on basic URL syntax.
It defines the following functions:
--- 19,23 ----
The module has been designed to match the Internet RFC on Relative
Uniform Resource Locators (and discovered a bug in an earlier
! draft!).
It defines the following functions:
***************
*** 41,45 ****
urlparse('http://www.cwi.nl:80/%7Eguido/Python.html')
\end{verbatim}
! %
yields the tuple
--- 40,44 ----
urlparse('http://www.cwi.nl:80/%7Eguido/Python.html')
\end{verbatim}
!
yields the tuple
***************
*** 47,51 ****
('http', 'www.cwi.nl:80', '/%7Eguido/Python.html', '', '', '')
\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
--- 46,50 ----
('http', 'www.cwi.nl:80', '/%7Eguido/Python.html', '', '', '')
\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
***************
*** 76,80 ****
urljoin('http://www.cwi.nl/%7Eguido/Python.html', 'FAQ.html')
\end{verbatim}
! %
yields the string
--- 75,79 ----
urljoin('http://www.cwi.nl/%7Eguido/Python.html', 'FAQ.html')
\end{verbatim}
!
yields the string
***************
*** 86,87 ****
--- 85,98 ----
\code{urlparse()}.
\end{funcdesc}
+
+
+ \begin{seealso}
+ \seerfc{1738}{Uniform Resource Locators (URL)}{
+ This specifies the formal syntax and semantics of absolute
+ URLs.}
+ \seerfc{1808}{Relative Uniform Resource Locators}{
+ This Request For Comments includes the rules for joining an
+ absolute and a relative URL, including a fair normal of
+ ``Abnormal Examples'' which govern the treatment of border
+ cases.}
+ \end{seealso}