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
33d8ce1f
Kaydet (Commit)
33d8ce1f
authored
Eyl 24, 2012
tarafından
Mark Dickinson
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Issue #14167: merge fix from 3.2 branch.
üst
f8a28654
05ee5817
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
compound_stmts.rst
Doc/reference/compound_stmts.rst
+5
-5
No files found.
Doc/reference/compound_stmts.rst
Dosyayı görüntüle @
33d8ce1f
...
@@ -307,11 +307,11 @@ If :keyword:`finally` is present, it specifies a 'cleanup' handler. The
...
@@ -307,11 +307,11 @@ If :keyword:`finally` is present, it specifies a 'cleanup' handler. The
:keyword:`try` clause is executed, including any :keyword:`except` and
:keyword:`try` clause is executed, including any :keyword:`except` and
:keyword:`else` clauses. If an exception occurs in any of the clauses and is
:keyword:`else` clauses. If an exception occurs in any of the clauses and is
not handled, the exception is temporarily saved. The :keyword:`finally` clause
not handled, the exception is temporarily saved. The :keyword:`finally` clause
is executed. If there is a saved exception
or :keyword:`break` statement,
is executed. If there is a saved exception
it is re-raised at the end of the
it is re-raised at the end of the :keyword:`finally` clause. If the
:keyword:`finally` clause. If the :keyword:`finally` clause raises another
:keyword:`finally` clause raises another exception the saved exception
exception, the saved exception is set as the context of the new exception.
is set as the context of the new exception; if the :keyword:`finally` clause
If the :keyword:`finally` clause executes a :keyword:`return` or :keyword:`break`
executes a :keyword:`return`
statement, the saved exception is discarded::
statement, the saved exception is discarded::
def f():
def f():
try:
try:
...
...
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