mirror of https://github.com/python/cpython.git
Document urldefrag().
This commit is contained in:
parent
ceaa77cf85
commit
98ef20d5e4
|
@ -105,6 +105,13 @@ The \var{allow_fragments} argument has the same meaning as for
|
||||||
\code{urlparse()}.
|
\code{urlparse()}.
|
||||||
\end{funcdesc}
|
\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}
|
\begin{seealso}
|
||||||
\seerfc{1738}{Uniform Resource Locators (URL)}{
|
\seerfc{1738}{Uniform Resource Locators (URL)}{
|
||||||
|
|
Loading…
Reference in New Issue