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
993409dd
Kaydet (Commit)
993409dd
authored
Tem 13, 2011
tarafından
Georg Brandl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Merge doc change from 3.2.
üst
3c14b4eb
325eb470
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
exceptions.rst
Doc/c-api/exceptions.rst
+3
-3
No files found.
Doc/c-api/exceptions.rst
Dosyayı görüntüle @
993409dd
...
@@ -354,10 +354,10 @@ in various ways. There is a separate error indicator for each thread.
...
@@ -354,10 +354,10 @@ in various ways. There is a separate error indicator for each thread.
.. c:function:: PyObject* PyErr_NewException(char *name, PyObject *base, PyObject *dict)
.. c:function:: PyObject* PyErr_NewException(char *name, PyObject *base, PyObject *dict)
This utility function creates and returns a new exception
object
. The *name*
This utility function creates and returns a new exception
class
. The *name*
argument must be the name of the new exception, a C string of the form
argument must be the name of the new exception, a C string of the form
``module.class
``. The *base* and *dict* arguments are normally *NULL*. This
``module.class
name``. The *base* and *dict* arguments are normally *NULL*.
creates a class object derived from :exc:`Exception` (accessible in C as
This
creates a class object derived from :exc:`Exception` (accessible in C as
:c:data:`PyExc_Exception`).
:c:data:`PyExc_Exception`).
The :attr:`__module__` attribute of the new class is set to the first part (up
The :attr:`__module__` attribute of the new class is set to the first part (up
...
...
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