summaryrefslogtreecommitdiffstats
path: root/Doc/lib/liburlparse.tex
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2002-10-16 20:07:54 (GMT)
committerFred Drake <fdrake@acm.org>2002-10-16 20:07:54 (GMT)
commit98ef20d5e47c456552b87a911c1203571a06ad35 (patch)
treee275d6b263bd5e54c682e6e32aad9e66eaa947ea /Doc/lib/liburlparse.tex
parentceaa77cf85d444f878a94b2b3258ff1889549d04 (diff)
downloadcpython-98ef20d5e47c456552b87a911c1203571a06ad35.zip
cpython-98ef20d5e47c456552b87a911c1203571a06ad35.tar.gz
cpython-98ef20d5e47c456552b87a911c1203571a06ad35.tar.bz2
Document urldefrag().
Diffstat (limited to 'Doc/lib/liburlparse.tex')
-rw-r--r--Doc/lib/liburlparse.tex7
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/lib/liburlparse.tex b/Doc/lib/liburlparse.tex
index 8599d20..4819d3c 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)}{