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
88a3e1f4
Kaydet (Commit)
88a3e1f4
authored
Ara 15, 2012
tarafından
Andrew Svetlov
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Merge: use OSError instead of os.error in the docs.
üst
3a31ecd8
618c2e13
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
os.path.rst
Doc/library/os.path.rst
+4
-4
shutil.rst
Doc/library/shutil.rst
+1
-1
No files found.
Doc/library/os.path.rst
Dosyayı görüntüle @
88a3e1f4
...
...
@@ -125,7 +125,7 @@ applications should use string objects to access all files.
Return the time of last access of *path*. The return value is a number giving
the number of seconds since the epoch (see the :mod:`time` module). Raise
:exc:`
os.e
rror` if the file does not exist or is inaccessible.
:exc:`
OSE
rror` if the file does not exist or is inaccessible.
If :func:`os.stat_float_times` returns True, the result is a floating point
number.
...
...
@@ -135,7 +135,7 @@ applications should use string objects to access all files.
Return the time of last modification of *path*. The return value is a number
giving the number of seconds since the epoch (see the :mod:`time` module).
Raise :exc:`
os.e
rror` if the file does not exist or is inaccessible.
Raise :exc:`
OSE
rror` if the file does not exist or is inaccessible.
If :func:`os.stat_float_times` returns True, the result is a floating point
number.
...
...
@@ -146,13 +146,13 @@ applications should use string objects to access all files.
Return the system's ctime which, on some systems (like Unix) is the time of the
last change, and, on others (like Windows), is the creation time for *path*.
The return value is a number giving the number of seconds since the epoch (see
the :mod:`time` module). Raise :exc:`
os.e
rror` if the file does not exist or
the :mod:`time` module). Raise :exc:`
OSE
rror` if the file does not exist or
is inaccessible.
.. function:: getsize(path)
Return the size, in bytes, of *path*. Raise :exc:`
os.e
rror` if the file does
Return the size, in bytes, of *path*. Raise :exc:`
OSE
rror` if the file does
not exist or is inaccessible.
...
...
Doc/library/shutil.rst
Dosyayı görüntüle @
88a3e1f4
...
...
@@ -385,7 +385,7 @@ provided by this module. ::
else:
copy2(srcname, dstname)
# XXX What about devices, sockets etc.?
except
(IOError, os.error)
as why:
except
OSError
as why:
errors.append((srcname, dstname, str(why)))
# catch the Error from the recursive copytree so that we can
# continue with other files
...
...
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