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
96acb73d
Kaydet (Commit)
96acb73d
authored
Haz 24, 2012
tarafından
Georg Brandl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Small whitespace fixes for shutil.rmtree() docs.
üst
4a7e25f4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
shutil.rst
Doc/library/shutil.rst
+7
-5
No files found.
Doc/library/shutil.rst
Dosyayı görüntüle @
96acb73d
...
@@ -180,6 +180,7 @@ Directory and files operations
...
@@ -180,6 +180,7 @@ Directory and files operations
.. versionchanged:: 3.3
.. versionchanged:: 3.3
Added return of the *dst*.
Added return of the *dst*.
.. function:: rmtree(path, ignore_errors=False, onerror=None)
.. function:: rmtree(path, ignore_errors=False, onerror=None)
.. index:: single: directory; deleting
.. index:: single: directory; deleting
...
@@ -194,11 +195,11 @@ Directory and files operations
...
@@ -194,11 +195,11 @@ Directory and files operations
On platforms that support the necessary fd-based functions a symlink
On platforms that support the necessary fd-based functions a symlink
attack resistant version of :func:`rmtree` is used by default. On other
attack resistant version of :func:`rmtree` is used by default. On other
platforms, the :func:`rmtree` implementation is susceptible to a
platforms, the :func:`rmtree` implementation is susceptible to a
symlink
symlink attack: given proper timing and circumstances, attackers can
attack: given proper timing and circumstances, attackers can manipulate
manipulate symlinks on the filesystem to delete files they wouldn't
symlinks on the filesystem to delete files they wouldn't be able to access
be able to access otherwise. Applications can use the :data:`rmtree.avoids_symlink_attacks` function attribute to
otherwise. Applications can use the :data:`rmtree.avoids_symlink_attacks`
determine which case applies.
function attribute to
determine which case applies.
If *onerror* is provided, it must be a callable that accepts three
If *onerror* is provided, it must be a callable that accepts three
parameters: *function*, *path*, and *excinfo*.
parameters: *function*, *path*, and *excinfo*.
...
@@ -221,6 +222,7 @@ Directory and files operations
...
@@ -221,6 +222,7 @@ Directory and files operations
.. versionadded:: 3.3
.. versionadded:: 3.3
.. function:: move(src, dst)
.. function:: move(src, dst)
Recursively move a file or directory (*src*) to another location (*dst*)
Recursively move a file or directory (*src*) to another location (*dst*)
...
...
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