From: Fred Drake Date: Wed, 16 Oct 2002 21:26:01 +0000 (+0000) Subject: Document urldefrag(). X-Git-Tag: v2.2.3c1~298 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e75cd916f6af9949636678c49087098fb1c2db15;p=thirdparty%2FPython%2Fcpython.git Document urldefrag(). --- diff --git a/Doc/lib/liburlparse.tex b/Doc/lib/liburlparse.tex index 8599d20543f0..4819d3ce3552 100644 --- a/Doc/lib/liburlparse.tex +++ b/Doc/lib/liburlparse.tex @@ -105,6 +105,13 @@ The \var{allow_fragments} argument has the same meaning as for \code{urlparse()}. \end{funcdesc} +\begin{funcdesc}{urldefrag}{url} +If \var{url} contains a fragment identifier, returns a modified +version of \var{url} with no fragment identifier, and the fragment +identifier as a separate string. If there is no fragment identifier +in \var{url}, returns \var{url} unmodified and an empty string. +\end{funcdesc} + \begin{seealso} \seerfc{1738}{Uniform Resource Locators (URL)}{