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
45ca3331
Kaydet (Commit)
45ca3331
authored
Agu 24, 2000
tarafından
Fred Drake
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Move references to RFCs to a "See also" section for consistency with
other sections of the library reference.
üst
9fa4d61b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
5 deletions
+16
-5
liburlparse.tex
Doc/lib/liburlparse.tex
+16
-5
No files found.
Doc/lib/liburlparse.tex
Dosyayı görüntüle @
45ca3331
...
@@ -18,8 +18,7 @@ URL'' to an absolute URL given a ``base URL.''
...
@@ -18,8 +18,7 @@ URL'' to an absolute URL given a ``base URL.''
The module has been designed to match the Internet RFC on Relative
The module has been designed to match the Internet RFC on Relative
Uniform Resource Locators (and discovered a bug in an earlier
Uniform Resource Locators (and discovered a bug in an earlier
draft!). Refer to
\rfc
{
1808
}
for details on relative
draft!).
URLs and
\rfc
{
1738
}
for information on basic URL syntax.
It defines the following functions:
It defines the following functions:
...
@@ -40,13 +39,13 @@ Example:
...
@@ -40,13 +39,13 @@ Example:
\begin{verbatim}
\begin{verbatim}
urlparse('http://www.cwi.nl:80/
%7Eguido/Python.html')
urlparse('http://www.cwi.nl:80/
%7Eguido/Python.html')
\end{verbatim}
\end{verbatim}
%
yields the tuple
yields the tuple
\begin{verbatim}
\begin{verbatim}
('http', 'www.cwi.nl:80', '/
%7Eguido/Python.html', '', '', '')
('http', 'www.cwi.nl:80', '/
%7Eguido/Python.html', '', '', '')
\end{verbatim}
\end{verbatim}
%
If the
\var
{
default
_
scheme
}
argument is specified, it gives the
If the
\var
{
default
_
scheme
}
argument is specified, it gives the
default addressing scheme, to be used only if the URL string does not
default addressing scheme, to be used only if the URL string does not
specify one. The default value for this argument is the empty string.
specify one. The default value for this argument is the empty string.
...
@@ -75,7 +74,7 @@ Example:
...
@@ -75,7 +74,7 @@ Example:
\begin{verbatim}
\begin{verbatim}
urljoin('http://www.cwi.nl/
%7Eguido/Python.html', 'FAQ.html')
urljoin('http://www.cwi.nl/
%7Eguido/Python.html', 'FAQ.html')
\end{verbatim}
\end{verbatim}
%
yields the string
yields the string
\begin{verbatim}
\begin{verbatim}
...
@@ -85,3 +84,15 @@ yields the string
...
@@ -85,3 +84,15 @@ yields the string
The
\var
{
allow
_
fragments
}
argument has the same meaning as for
The
\var
{
allow
_
fragments
}
argument has the same meaning as for
\code
{
urlparse()
}
.
\code
{
urlparse()
}
.
\end{funcdesc}
\end{funcdesc}
\begin{seealso}
\seerfc
{
1738
}{
Uniform Resource Locators (URL)
}{
This specifies the formal syntax and semantics of absolute
URLs.
}
\seerfc
{
1808
}{
Relative Uniform Resource Locators
}{
This Request For Comments includes the rules for joining an
absolute and a relative URL, including a fair normal of
``Abnormal Examples'' which govern the treatment of border
cases.
}
\end{seealso}
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