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
8c26c7d9
Kaydet (Commit)
8c26c7d9
authored
Nis 23, 2010
tarafından
Tarek Ziadé
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
added a note about the ignore_dangling_symlinks option
üst
51a6f72d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
shutil.rst
Doc/library/shutil.rst
+2
-1
shutil.py
Lib/shutil.py
+2
-2
No files found.
Doc/library/shutil.rst
Dosyayı görüntüle @
8c26c7d9
...
@@ -103,7 +103,8 @@ Directory and files operations
...
@@ -103,7 +103,8 @@ Directory and files operations
exist, a exception will be added in the list of errors raised in
exist, a exception will be added in the list of errors raised in
a :exc:`Error` exception at the end of the copy process.
a :exc:`Error` exception at the end of the copy process.
You can set the optional *ignore_dangling_symlinks* flag to true if you
You can set the optional *ignore_dangling_symlinks* flag to true if you
want to silence this exception.
want to silence this exception. Notice that this option has no effect
on platforms that don't support :func:`os.symlink`.
If *ignore* is given, it must be a callable that will receive as its
If *ignore* is given, it must be a callable that will receive as its
arguments the directory being visited by :func:`copytree`, and a list of its
arguments the directory being visited by :func:`copytree`, and a list of its
...
...
Lib/shutil.py
Dosyayı görüntüle @
8c26c7d9
...
@@ -161,8 +161,8 @@ def copytree(src, dst, symlinks=False, ignore=None, copy_function=copy2,
...
@@ -161,8 +161,8 @@ def copytree(src, dst, symlinks=False, ignore=None, copy_function=copy2,
an Error exception at the end of the copy process.
an Error exception at the end of the copy process.
You can set the optional ignore_dangling_symlinks flag to true if you
You can set the optional ignore_dangling_symlinks flag to true if you
want to silence this exception.
want to silence this exception.
Notice that this has no effect on
platforms that don't support os.symlink.
The optional ignore argument is a callable. If given, it
The optional ignore argument is a callable. If given, it
is called with the `src` parameter, which is the directory
is called with the `src` parameter, which is the directory
...
...
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