mirror of
https://github.com/python/cpython.git
synced 2025-11-25 21:11:09 +00:00
Document urldefrag().
This commit is contained in:
parent
ceaa77cf85
commit
98ef20d5e4
1 changed files with 7 additions and 0 deletions
|
|
@ -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)}{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue