]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Document urldefrag().
authorFred Drake <fdrake@acm.org>
Wed, 16 Oct 2002 21:26:01 +0000 (21:26 +0000)
committerFred Drake <fdrake@acm.org>
Wed, 16 Oct 2002 21:26:01 +0000 (21:26 +0000)
Doc/lib/liburlparse.tex

index 8599d20543f0ab20e608c8b02f8291f3a246078d..4819d3ce3552f0235880df101877def0062bdaba 100644 (file)
@@ -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)}{