Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
5545219b
Kaydet (Commit)
5545219b
authored
Kas 16, 2001
tarafından
Fred Drake
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Document the urlsplit() and urlunsplit() functions.
üst
5751a22e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
liburlparse.tex
Doc/lib/liburlparse.tex
+19
-0
No files found.
Doc/lib/liburlparse.tex
Dosyayı görüntüle @
5545219b
...
@@ -63,6 +63,25 @@ URL that was parsed originally had redundant delimiters, e.g. a ? with
...
@@ -63,6 +63,25 @@ URL that was parsed originally had redundant delimiters, e.g. a ? with
an empty query (the draft states that these are equivalent).
an empty query (the draft states that these are equivalent).
\end{funcdesc}
\end{funcdesc}
\begin{funcdesc}
{
urlsplit
}{
urlstring
\optional
{
,
default
_
scheme
\optional
{
, allow
_
fragments
}}}
This is similar to
\function
{
urlparse()
}
, but does not split the
params from the URL. This should generally be used instead of
\function
{
urlparse()
}
if the more recent URL syntax allowing
parameters to be applied to each segment of the
\var
{
path
}
portion of
the URL (see
\rfc
{
2396
}
). A separate function is needed to separate
the path segments and parameters. This function returns a 5-tuple:
(addressing scheme, network location, path, query, fragment
identifier).
\versionadded
{
2.2
}
\end{funcdesc}
\begin{funcdesc}
{
urlunsplit
}{
tuple
}
Combine the elements of a tuple as returned by
\function
{
urlsplit()
}
into a complete URL as a string.
\versionadded
{
2.2
}
\end{funcdesc}
\begin{funcdesc}
{
urljoin
}{
base, url
\optional
{
, allow
_
fragments
}}
\begin{funcdesc}
{
urljoin
}{
base, url
\optional
{
, allow
_
fragments
}}
Construct a full (``absolute'') URL by combining a ``base URL''
Construct a full (``absolute'') URL by combining a ``base URL''
(
\var
{
base
}
) with a ``relative URL'' (
\var
{
url
}
). Informally, this
(
\var
{
base
}
) with a ``relative URL'' (
\var
{
url
}
). Informally, this
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment