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
4433a5fd
Kaydet (Commit)
4433a5fd
authored
Ara 15, 2010
tarafından
Éric Araujo
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix wrong name in docstring and doc (#10693). Original patch by Eli Bendersky.
üst
17a59252
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
apiref.rst
Doc/distutils/apiref.rst
+1
-1
archive_util.py
Lib/distutils/archive_util.py
+1
-1
shutil.py
Lib/shutil.py
+2
-2
No files found.
Doc/distutils/apiref.rst
Dosyayı görüntüle @
4433a5fd
...
...
@@ -888,7 +888,7 @@ tarballs or zipfiles.
.. function:: make_zipfile(base_name, base_dir[, verbose=0, dry_run=0])
Create a zip file from all files in and under *base_dir*. The output zip file
will be named *base_
dir
* + :file:`.zip`. Uses either the :mod:`zipfile` Python
will be named *base_
name
* + :file:`.zip`. Uses either the :mod:`zipfile` Python
module (if available) or the InfoZIP :file:`zip` utility (if installed and
found on the default search path). If neither tool is available, raises
:exc:`DistutilsExecError`. Returns the name of the output zip file.
...
...
Lib/distutils/archive_util.py
Dosyayı görüntüle @
4433a5fd
...
...
@@ -68,7 +68,7 @@ def make_tarball(base_name, base_dir, compress="gzip", verbose=0, dry_run=0):
def
make_zipfile
(
base_name
,
base_dir
,
verbose
=
0
,
dry_run
=
0
):
"""Create a zip file from all the files under 'base_dir'.
The output zip file will be named 'base_
dir
' + ".zip". Uses either the
The output zip file will be named 'base_
name
' + ".zip". Uses either the
"zipfile" Python module (if available) or the InfoZIP "zip" utility
(if installed and found on the default search path). If neither tool is
available, raises DistutilsExecError. Returns the name of the output zip
...
...
Lib/shutil.py
Dosyayı görüntüle @
4433a5fd
...
...
@@ -370,7 +370,7 @@ def _make_tarball(base_name, base_dir, compress="gzip", verbose=0, dry_run=0,
archive that is being built. If not provided, the current owner and group
will be used.
The output tar file will be named 'base_
dir
' + ".tar", possibly plus
The output tar file will be named 'base_
name
' + ".tar", possibly plus
the appropriate compression extension (".gz", or ".bz2").
Returns the output filename.
...
...
@@ -440,7 +440,7 @@ def _call_external_zip(base_dir, zip_filename, verbose=False, dry_run=False):
def
_make_zipfile
(
base_name
,
base_dir
,
verbose
=
0
,
dry_run
=
0
,
logger
=
None
):
"""Create a zip file from all the files under 'base_dir'.
The output zip file will be named 'base_
dir
' + ".zip". Uses either the
The output zip file will be named 'base_
name
' + ".zip". Uses either the
"zipfile" Python module (if available) or the InfoZIP "zip" utility
(if installed and found on the default search path). If neither tool is
available, raises ExecError. Returns the name of the output zip
...
...
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