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
c45cb479
Kaydet (Commit)
c45cb479
authored
Haz 22, 2018
tarafından
Andrés Delfino
Kaydeden (comit)
Terry Jan Reedy
Haz 22, 2018
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
bpo-33885: Replace "hook function" with "callable" (GH-7765)
üst
78392885
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
urllib.request.rst
Doc/library/urllib.request.rst
+2
-2
No files found.
Doc/library/urllib.request.rst
Dosyayı görüntüle @
c45cb479
...
@@ -1339,9 +1339,9 @@ some point in the future.
...
@@ -1339,9 +1339,9 @@ some point in the future.
The second argument, if present, specifies the file location to copy to (if
The second argument, if present, specifies the file location to copy to (if
absent, the location will be a tempfile with a generated name). The third
absent, the location will be a tempfile with a generated name). The third
argument, if present, is a
hook function
that will be called once on
argument, if present, is a
callable
that will be called once on
establishment of the network connection and once after each block read
establishment of the network connection and once after each block read
thereafter. The
hook
will be passed three arguments; a count of blocks
thereafter. The
callable
will be passed three arguments; a count of blocks
transferred so far, a block size in bytes, and the total size of the file. The
transferred so far, a block size in bytes, and the total size of the file. The
third argument may be ``-1`` on older FTP servers which do not return a file
third argument may be ``-1`` on older FTP servers which do not return a file
size in response to a retrieval request.
size in response to a retrieval request.
...
...
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