[Python-checkins] CVS: python/dist/src/Doc/lib liburlparse.tex,1.19,1.19.12.1

Fred L. Drake fdrake@users.sourceforge.net
2001年11月15日 19:22:26 -0800


Update of /cvsroot/python/python/dist/src/Doc/lib
In directory usw-pr-cvs1:/tmp/cvs-serv22793/Doc/lib
Modified Files:
 Tag: r22b2-branch
	liburlparse.tex 
Log Message:
Document the urlsplit() and urlunsplit() functions.
Index: liburlparse.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/liburlparse.tex,v
retrieving revision 1.19
retrieving revision 1.19.12.1
diff -C2 -d -r1.19 -r1.19.12.1
*** liburlparse.tex	2001年07月14日 02:50:55	1.19
--- liburlparse.tex	2001年11月16日 03:22:24	1.19.12.1
***************
*** 64,67 ****
--- 64,86 ----
 \end{funcdesc}
 
+ \begin{funcdesc}{urlsplit}{urlstring\optional{,
+ default_scheme\optional{, allow_fragments}}}
+ This is similar to \function{urlparse()}, but does not split the
+ params from the URL. This should generally be used instead of
+ \function{urlparse()} if the more recent URL syntax allowing
+ parameters to be applied to each segment of the \var{path} portion of
+ the URL (see \rfc{2396}). A separate function is needed to separate
+ the path segments and parameters. This function returns a 5-tuple:
+ (addressing scheme, network location, path, query, fragment
+ identifier).
+ \versionadded{2.2}
+ \end{funcdesc}
+ 
+ \begin{funcdesc}{urlunsplit}{tuple}
+ Combine the elements of a tuple as returned by \function{urlsplit()}
+ into a complete URL as a string.
+ \versionadded{2.2}
+ \end{funcdesc}
+ 
 \begin{funcdesc}{urljoin}{base, url\optional{, allow_fragments}}
 Construct a full (``absolute'') URL by combining a ``base URL''

AltStyle によって変換されたページ (->オリジナル) /