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
5c600e16
Kaydet (Commit)
5c600e16
authored
Eki 14, 1990
tarafından
Guido van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Made exception objects extern.
Added convenience functions.
üst
7d310eb0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
14 deletions
+28
-14
errors.h
Include/errors.h
+14
-7
pyerrors.h
Include/pyerrors.h
+14
-7
No files found.
Include/errors.h
Dosyayı görüntüle @
5c600e16
...
...
@@ -8,10 +8,17 @@ void err_get PROTO((object **, object **));
void
err_clear
PROTO
((
void
));
/* Predefined exceptions (in run.c) */
object
*
RuntimeError
;
/* Raised by error() */
object
*
EOFError
;
/* Raised by eof_error() */
object
*
TypeError
;
/* Rased by type_error() */
object
*
MemoryError
;
/* Raised by mem_error() */
object
*
NameError
;
/* Raised by name_error() */
object
*
SystemError
;
/* Raised by sys_error() */
object
*
KeyboardInterrupt
;
/* Raised by intr_error() */
extern
object
*
RuntimeError
;
extern
object
*
EOFError
;
extern
object
*
TypeError
;
extern
object
*
MemoryError
;
extern
object
*
NameError
;
extern
object
*
SystemError
;
extern
object
*
KeyboardInterrupt
;
/* Convenience functions */
extern
int
err_badarg
PROTO
((
void
));
extern
object
*
err_nomem
PROTO
((
void
));
extern
object
*
err_errno
PROTO
((
object
*
));
Include/pyerrors.h
Dosyayı görüntüle @
5c600e16
...
...
@@ -8,10 +8,17 @@ void err_get PROTO((object **, object **));
void
err_clear
PROTO
((
void
));
/* Predefined exceptions (in run.c) */
object
*
RuntimeError
;
/* Raised by error() */
object
*
EOFError
;
/* Raised by eof_error() */
object
*
TypeError
;
/* Rased by type_error() */
object
*
MemoryError
;
/* Raised by mem_error() */
object
*
NameError
;
/* Raised by name_error() */
object
*
SystemError
;
/* Raised by sys_error() */
object
*
KeyboardInterrupt
;
/* Raised by intr_error() */
extern
object
*
RuntimeError
;
extern
object
*
EOFError
;
extern
object
*
TypeError
;
extern
object
*
MemoryError
;
extern
object
*
NameError
;
extern
object
*
SystemError
;
extern
object
*
KeyboardInterrupt
;
/* Convenience functions */
extern
int
err_badarg
PROTO
((
void
));
extern
object
*
err_nomem
PROTO
((
void
));
extern
object
*
err_errno
PROTO
((
object
*
));
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