@@ -422,13 +422,16 @@ msgstr ""
422422"błędów, które mogą wystąpić w zdefiniowanych w nich funkcjach."
423423
424424msgid "Defining Clean-up Actions"
425- msgstr ""
425+ msgstr "Definiowanie działań porządkujących "
426426
427427msgid ""
428428"The :keyword:`try` statement has another optional clause which is intended "
429429"to define clean-up actions that must be executed under all circumstances. "
430430"For example::"
431431msgstr ""
432+ "Instrukcja :keyword:`try` ma inną opcjonalną klauzulę, która jest "
433+ "przeznaczona do definiowania działań porządkujących, które muszą być "
434+ "wykonane w każdych okolicznościach. Na przykład::"
432435
433436msgid ""
434437"If a :keyword:`finally` clause is present, the :keyword:`!finally` clause "
@@ -437,38 +440,60 @@ msgid ""
437440"statement produces an exception. The following points discuss more complex "
438441"cases when an exception occurs:"
439442msgstr ""
443+ "Jeśli klauzula :keyword:`finally` jest obecna, klauzula:keyword:`!finally` "
444+ "wykona się jako ostatnie zadanie przed zakończeniem instrukcji :keyword:"
445+ "`try`. Klauzula :keyword:`!finally` uruchomi się niezależnie od tego, czy "
446+ "instrukcja :keyword:`!try` spowoduje wyjątek. Poniższe punkty omawiają "
447+ "bardziej złożone przypadki wystąpienia wyjątku:"
440448
441449msgid ""
442450"If an exception occurs during execution of the :keyword:`!try` clause, the "
443451"exception may be handled by an :keyword:`except` clause. If the exception is "
444452"not handled by an :keyword:`!except` clause, the exception is re-raised "
445453"after the :keyword:`!finally` clause has been executed."
446454msgstr ""
455+ "Jeśli podczas wykonywania klauzuli :keyword:`!try` wystąpi wyjątek, może on "
456+ "zostać obsłużony przez klauzulę :keyword:`except`. Jeśli wyjątek nie "
457+ "zostanie obsłużony przez klauzulę :keyword:`!except`, zostanie on ponownie "
458+ "rzucony po wykonaniu klauzuli :keyword:`!finally`."
447459
448460msgid ""
449461"An exception could occur during execution of an :keyword:`!except` or :"
450462"keyword:`!else` clause. Again, the exception is re-raised after the :keyword:"
451463"`!finally` clause has been executed."
452464msgstr ""
465+ "Wyjątek może wystąpić podczas wykonywania klauzul :keyword:`!except` lub :"
466+ "keyword:`!else`. Ponownie, wyjątek jest ponownie rzucany po wykonaniu "
467+ "klauzuli :keyword:`!finally`."
453468
454469msgid ""
455470"If the :keyword:`!finally` clause executes a :keyword:`break`, :keyword:"
456471"`continue` or :keyword:`return` statement, exceptions are not re-raised."
457472msgstr ""
473+ "Jeśli klauzula :keyword:`!finally` wykonuje instrukcje :keyword:`break`, :"
474+ "keyword:`continue` lub :keyword:`return`, wyjątki nie są ponownie rzucane."
458475
459476msgid ""
460477"If the :keyword:`!try` statement reaches a :keyword:`break`, :keyword:"
461478"`continue` or :keyword:`return` statement, the :keyword:`!finally` clause "
462479"will execute just prior to the :keyword:`!break`, :keyword:`!continue` or :"
463480"keyword:`!return` statement's execution."
464481msgstr ""
482+ "Jeśli instrukcja :keyword:`!try` osiągnie instrukcję :keyword:`break`, :"
483+ "keyword:`continue` lub :keyword:`return`, klauzula :keyword:`!finally` "
484+ "wykona się tuż przed wykonaniem instrukcji :keyword:`!break`, :keyword:`!"
485+ "continue` lub :keyword:`!return`."
465486
466487msgid ""
467488"If a :keyword:`!finally` clause includes a :keyword:`!return` statement, the "
468489"returned value will be the one from the :keyword:`!finally` clause's :"
469490"keyword:`!return` statement, not the value from the :keyword:`!try` "
470491"clause's :keyword:`!return` statement."
471492msgstr ""
493+ "Jeśli klauzula :keyword:`!finally` zawiera instrukcję :keyword:`!return`, "
494+ "zwróconą wartością będzie ta z instrukcji :keyword:`!return` klauzuli :"
495+ "keyword:`!finally`, a nie wartość z instrukcji :keyword:`!return` klauzuli :"
496+ "keyword:`!try`."
472497
473498msgid "For example::"
474499msgstr "Na przykład::"
@@ -482,6 +507,10 @@ msgid ""
482507"keyword:`except` clause and therefore re-raised after the :keyword:`!"
483508"finally` clause has been executed."
484509msgstr ""
510+ "Jak widać, klauzula :keyword:`finally` jest wykonywana w każdym przypadku. :"
511+ "exc:`TypeError` rzucony przez dzielenie dwóch ciągów znaków nie jest "
512+ "obsłużony przez klauzulę :keyword:`except` i dlatego jest ponownie rzucony "
513+ "po wykonaniu klauzuli :keyword:`!finally`."
485514
486515msgid ""
487516"In real world applications, the :keyword:`finally` clause is useful for "
0 commit comments