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
5e96f1ff
Kaydet (Commit)
5e96f1ff
authored
Eki 24, 2002
tarafından
Fred Drake
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Correct the description of PyErr_Restore().
Closes SF bug #577000.
üst
7b025515
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
exceptions.tex
Doc/api/exceptions.tex
+3
-3
No files found.
Doc/api/exceptions.tex
Dosyayı görüntüle @
5e96f1ff
...
...
@@ -102,15 +102,15 @@ for each thread.
indicator is already set, it is cleared first. If the objects are
\NULL
, the error indicator is cleared. Do not pass a
\NULL
{}
type
and non-
\NULL
{}
value or traceback. The exception type should be a
string or class; if it is a class, the value should be an instance
of that class. Do not pass an invalid exception type or value.
string or class. Do not pass an invalid exception type or value.
(Violating these rules will cause subtle problems later.) This call
takes away a reference to each object: you must own a reference to
each object before the call and after the call you no longer own
these references. (If you don't understand this, don't use this
function. I warned you.)
\note
{
This function is normally only used
by code that needs to save and restore the error indicator
temporarily.
}
temporarily; use
\cfunction
{
PyErr
_
Fetch()
}
to save the current
exception state.
}
\end{cfuncdesc}
\begin{cfuncdesc}
{
void
}{
PyErr
_
SetString
}{
PyObject *type, char *message
}
...
...
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