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
b44e7533
Kaydet (Commit)
b44e7533
authored
Tem 27, 1998
tarafından
Fred Drake
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Mark the new & changed items.
üst
6481ba62
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
10 deletions
+19
-10
libexcs.tex
Doc/lib/libexcs.tex
+16
-10
libposixpath.tex
Doc/lib/libposixpath.tex
+3
-0
No files found.
Doc/lib/libexcs.tex
Dosyayı görüntüle @
b44e7533
...
...
@@ -94,6 +94,7 @@ index used on a mapping or sequence is invalid: \exception{IndexError},
\end{excdesc}
\begin{excdesc}
{
EnvironmentError
}
\versionadded
{
1.5.2
}
The base class for exceptions that
can occur outside the Python system:
\exception
{
IOError
}
,
\exception
{
OSError
}
. When exceptions of this type are created with a
...
...
@@ -145,20 +146,24 @@ Raised when an \keyword{assert} statement fails.
\end{excdesc}
\begin{excdesc}
{
FloatingPointError
}
Raised when a floating point operation fails. This exception is
always defined, but can only be raised when Python is configured with
the
\code
{
--with-fpectl
}
option, or the
\constant
{
WANT
_
SIGFPE
_
HANDLER
}
symbol is defined in the
\file
{
config.h
}
file.
Raised when a floating point operation fails. This exception is
always defined, but can only be raised when Python is configured
with the
\code
{
--with-fpectl
}
option, or the
\constant
{
WANT
_
SIGFPE
_
HANDLER
}
symbol is defined in the
\file
{
config.h
}
file.
\end{excdesc}
\begin{excdesc}
{
IOError
}
\versionchanged
{
1.5.2
}
% XXXJH xrefs here
Raised when an I/O operation (such as a
\keyword
{
print
}
statement, the
built-in
\function
{
open()
}
function or a method of a file object) fails
for an I/O-related reason, e.g., ``file not found'' or ``disk full''.
This class is derived
\exception
{
EnvironmentError
}
. See the discussion
above for more information on exception instance attributes.
Raised when an I/O operation (such as a
\keyword
{
print
}
statement,
the built-in
\function
{
open()
}
function or a method of a file
object) fails for an I/O-related reason, e.g., ``file not found'' or
``disk full''.
This class is derived
\exception
{
EnvironmentError
}
. See the
discussion above for more information on exception instance
attributes.
\end{excdesc}
\begin{excdesc}
{
ImportError
}
...
...
@@ -209,6 +214,7 @@ above for more information on exception instance attributes.
\end{excdesc}
\begin{excdesc}
{
OSError
}
\versionadded
{
1.5.2
}
%xref for os module
This class is derived from
\exception
{
EnvironmentError
}
and is used
primarily as the by the
\module
{
os
}
module's
\code
{
os.error
}
...
...
Doc/lib/libposixpath.tex
Dosyayı görüntüle @
b44e7533
...
...
@@ -51,11 +51,13 @@ unchanged.
\end{funcdesc}
\begin{funcdesc}
{
getsize
}{
filename
}
\versionadded
{
1.5.2
}
Return the size, in bytes, of
\var
{
filename
}
. Raise
\exception
{
os.error
}
if the file does not exist or is inaccessible.
\end{funcdesc}
\begin{funcdesc}
{
getmtime
}{
filename
}
\versionadded
{
1.5.2
}
Return the time of last modification of
\var
{
filename
}
. The return
value is integer giving the number of seconds since the epoch (see the
\module
{
time
}
module. Raise
\exception
{
os.error
}
if the file does not
...
...
@@ -63,6 +65,7 @@ exist or is inaccessible.
\end{funcdesc}
\begin{funcdesc}
{
getatime
}{
filename
}
\versionadded
{
1.5.2
}
Return the time of last access of
\var
{
filename
}
. The return
value is integer giving the number of seconds since the epoch (see the
\module
{
time
}
module. Raise
\exception
{
os.error
}
if the file does not
...
...
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