@@ -11,7 +11,7 @@ msgid ""
1111msgstr ""
1212"Project-Id-Version : Python 3.12\n "
1313"Report-Msgid-Bugs-To : \n "
14- "POT-Creation-Date : 2023-12-08 14:14+0000\n "
14+ "POT-Creation-Date : 2023-12-15 14:14+0000\n "
1515"PO-Revision-Date : 2021-06-28 01:05+0000\n "
1616"
Last-Translator :
Maciej Olko <[email protected] >, 2023\n "
1717"Language-Team : Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n "
@@ -63,9 +63,14 @@ msgstr ""
6363msgid "Exception context"
6464msgstr ""
6565
66+ msgid ""
67+ "Three attributes on exception objects provide information about the context "
68+ "in which the exception was raised:"
69+ msgstr ""
70+
6671msgid ""
6772"When raising a new exception while another exception is already being "
68- "handled, the new exception's :attr:`__context__` attribute is automatically "
73+ "handled, the new exception's :attr:`! __context__` attribute is automatically "
6974"set to the handled exception. An exception may be handled when an :keyword:"
7075"`except` or :keyword:`finally` clause, or a :keyword:`with` statement, is "
7176"used."
@@ -78,21 +83,21 @@ msgstr ""
7883
7984msgid ""
8085"The expression following :keyword:`from<raise>` must be an exception or "
81- "``None``. It will be set as :attr:`__cause__` on the raised exception. "
82- "Setting :attr:`__cause__` also implicitly sets the :attr:"
83- "` __suppress_context__` attribute to ``True``, so that using ``raise new_exc "
86+ "``None``. It will be set as :attr:`! __cause__` on the raised exception. "
87+ "Setting :attr:`! __cause__` also implicitly sets the :attr:`! "
88+ "__suppress_context__` attribute to ``True``, so that using ``raise new_exc "
8489"from None`` effectively replaces the old exception with the new one for "
8590"display purposes (e.g. converting :exc:`KeyError` to :exc:`AttributeError`), "
86- "while leaving the old exception available in :attr:`__context__` for "
91+ "while leaving the old exception available in :attr:`! __context__` for "
8792"introspection when debugging."
8893msgstr ""
8994
9095msgid ""
9196"The default traceback display code shows these chained exceptions in "
9297"addition to the traceback for the exception itself. An explicitly chained "
93- "exception in :attr:`__cause__` is always shown when present. An implicitly "
94- "chained exception in :attr:`__context__` is shown only if :attr:`__cause__` "
95- "is :const:`None` and :attr:`__suppress_context__` is false."
98+ "exception in :attr:`! __cause__` is always shown when present. An implicitly "
99+ "chained exception in :attr:`! __context__` is shown only if :attr:`! "
100+ "__cause__` is :const:`None` and :attr:`! __suppress_context__` is false."
96101msgstr ""
97102
98103msgid ""
@@ -154,6 +159,11 @@ msgid ""
154159"it to propagate to the caller. ::"
155160msgstr ""
156161
162+ msgid ""
163+ "A writable field that holds the :ref:`traceback object <traceback-objects>` "
164+ "associated with this exception. See also: :ref:`raise`."
165+ msgstr ""
166+
157167msgid ""
158168"Add the string ``note`` to the exception's notes which appear in the "
159169"standard traceback after the exception string. A :exc:`TypeError` is raised "
@@ -901,8 +911,9 @@ msgstr ""
901911
902912msgid ""
903913"The nesting structure of the current exception is preserved in the result, "
904- "as are the values of its :attr:`message`, :attr:`__traceback__`, :attr:"
905- "`__cause__`, :attr:`__context__` and :attr:`__notes__` fields. Empty nested "
914+ "as are the values of its :attr:`message`, :attr:`~BaseException."
915+ "__traceback__`, :attr:`~BaseException.__cause__`, :attr:`~BaseException."
916+ "__context__` and :attr:`~BaseException.__notes__` fields. Empty nested "
906917"groups are omitted from the result."
907918msgstr ""
908919
@@ -930,10 +941,11 @@ msgid ""
930941msgstr ""
931942
932943msgid ""
933- ":meth:`subgroup` and :meth:`split` copy the :attr:`__traceback__`, :attr:"
934- "`__cause__`, :attr:`__context__` and :attr:`__notes__` fields from the "
935- "original exception group to the one returned by :meth:`derive`, so these "
936- "fields do not need to be updated by :meth:`derive`. ::"
944+ ":meth:`subgroup` and :meth:`split` copy the :attr:`~BaseException."
945+ "__traceback__`, :attr:`~BaseException.__cause__`, :attr:`~BaseException."
946+ "__context__` and :attr:`~BaseException.__notes__` fields from the original "
947+ "exception group to the one returned by :meth:`derive`, so these fields do "
948+ "not need to be updated by :meth:`derive`."
937949msgstr ""
938950
939951msgid ""
@@ -968,6 +980,21 @@ msgstr ""
968980msgid "raise"
969981msgstr ""
970982
983+ msgid "exception"
984+ msgstr ""
985+
986+ msgid "chaining"
987+ msgstr ""
988+
989+ msgid "__cause__ (exception attribute)"
990+ msgstr ""
991+
992+ msgid "__context__ (exception attribute)"
993+ msgstr ""
994+
995+ msgid "__suppress_context__ (exception attribute)"
996+ msgstr ""
997+
971998msgid "assert"
972999msgstr ""
9731000
0 commit comments