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
47320a65
Kaydet (Commit)
47320a65
authored
Agu 01, 2017
tarafından
Łukasz Langa
Kaydeden (comit)
GitHub
Agu 01, 2017
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Document Path.is_mount(), update Misc/ACKS and Misc/NEWS (#2980)
üst
9d8e6ec8
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
0 deletions
+16
-0
pathlib.rst
Doc/library/pathlib.rst
+12
-0
ACKS
Misc/ACKS
+1
-0
2017-08-01-15-56-50.bpo-30897.OuT1-Y.rst
...S.d/next/Library/2017-08-01-15-56-50.bpo-30897.OuT1-Y.rst
+3
-0
No files found.
Doc/library/pathlib.rst
Dosyayı görüntüle @
47320a65
...
...
@@ -761,6 +761,18 @@ call fails (for example because the path doesn't exist):
other errors (such as permission errors) are propagated.
.. method:: Path.is_mount()
Return ``True`` if the path is a :dfn:`mount point`: a point in a
file system where a different file system has been mounted. On POSIX, the
function checks whether *path*'s parent, :file:`path/..`, is on a different
device than *path*, or whether :file:`path/..` and *path* point to the same
i-node on the same device --- this should detect mount points for all Unix
and POSIX variants. Not implemented on Windows.
.. versionadded:: 3.7
.. method:: Path.is_symlink()
Return ``True`` if the path points to a symbolic link, ``False`` otherwise.
...
...
Misc/ACKS
Dosyayı görüntüle @
47320a65
...
...
@@ -886,6 +886,7 @@ Inyeol Lee
James Lee
John J. Lee
Thomas Lee
Cooper Ry Lees
Tennessee Leeuwenburg
Luc Lefebvre
Pierre Paul Lefebvre
...
...
Misc/NEWS.d/next/Library/2017-08-01-15-56-50.bpo-30897.OuT1-Y.rst
0 → 100644
Dosyayı görüntüle @
47320a65
``pathlib.Path`` objects now include an ``is_mount()`` method (only
implemented on POSIX). This is similar to ``os.path.ismount(p)``. Patch by
Cooper Ry Lees.
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