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
09b29575
Kaydet (Commit)
09b29575
authored
Eki 01, 1998
tarafından
Fred Drake
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Remove extra } at end of method description parameters.
üst
49b56069
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
liburllib.tex
Doc/lib/liburllib.tex
+7
-6
No files found.
Doc/lib/liburllib.tex
Dosyayı görüntüle @
09b29575
...
@@ -57,7 +57,7 @@ see the \function{urlencode()} function below.
...
@@ -57,7 +57,7 @@ see the \function{urlencode()} function below.
\end{funcdesc}
\end{funcdesc}
\begin{funcdesc}
{
urlretrieve
}{
url
\optional
{
, filename
}
\optional
{
, hook
}}
}
\begin{funcdesc}
{
urlretrieve
}{
url
\optional
{
, filename
}
\optional
{
, hook
}}
Copy a network object denoted by a URL to a local file, if necessary.
Copy a network object denoted by a URL to a local file, if necessary.
If the URL points to a local file, or a valid cached copy of the
If the URL points to a local file, or a valid cached copy of the
object exists, the object is not copied. Return a tuple
object exists, the object is not copied. Return a tuple
...
@@ -74,8 +74,8 @@ The third argument, if present, is a hook function that will be called
...
@@ -74,8 +74,8 @@ The third argument, if present, is a hook function that will be called
once on establishment of the network connection and once after each
once on establishment of the network connection and once after each
block read thereafter. The hook will be passed three arguments; a
block read thereafter. The hook will be passed three arguments; a
count of blocks transferred so far, a block size in bytes, and the
count of blocks transferred so far, a block size in bytes, and the
total size of the file. The third argument may be
-1 on older FTP
total size of the file. The third argument may be
\code
{
-1
}
on older
servers which do not return a file size in response to a retrieval
FTP servers which do not return a file size in response to a retrieval
request.
request.
\end{funcdesc}
\end{funcdesc}
...
@@ -114,9 +114,10 @@ required for unquoting HTML form values.
...
@@ -114,9 +114,10 @@ required for unquoting HTML form values.
Convert a dictionary to a ``url-encoded'' string, suitable to pass to
Convert a dictionary to a ``url-encoded'' string, suitable to pass to
\function
{
urlopen()
}
above as the optional
\var
{
data
}
argument. This
\function
{
urlopen()
}
above as the optional
\var
{
data
}
argument. This
is useful to pass a dictionary of form fields to a
\code
{
POST
}
is useful to pass a dictionary of form fields to a
\code
{
POST
}
request. The resulting string is a series of
\var
{
key
}
\code
{
=
}
\var
{
value
}
request. The resulting string is a series of
pairs separated by
\code
{
\&
}
characters, where both
\var
{
key
}
and
\code
{
\var
{
key
}
=
\var
{
value
}}
pairs separated by
\character
{
\&
}
\var
{
value
}
are quoted using
\function
{
quote
_
plus()
}
above.
characters, where both
\var
{
key
}
and
\var
{
value
}
are quoted using
\function
{
quote
_
plus()
}
above.
\end{funcdesc}
\end{funcdesc}
Restrictions:
Restrictions:
...
...
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