@@ -12,7 +12,7 @@ msgid ""
1212msgstr ""
1313"Project-Id-Version : Python 3.13\n "
1414"Report-Msgid-Bugs-To : \n "
15- "POT-Creation-Date : 2024-06-28 14:15+0000\n "
15+ "POT-Creation-Date : 2024-07-12 14:15+0000\n "
1616"PO-Revision-Date : 2021-06-28 00:49+0000\n "
1717"Last-Translator : haaritsubaki, 2023\n "
1818"Language-Team : Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n "
@@ -50,6 +50,9 @@ msgid ""
5050"`__file__` attribute."
5151msgstr ""
5252
53+ msgid "Return ``NULL`` with an exception set on error."
54+ msgstr ""
55+
5356msgid ":attr:`__package__` and :attr:`__loader__` are set to ``None``."
5457msgstr ""
5558
@@ -542,21 +545,22 @@ msgstr ""
542545
543546msgid ""
544547"Add an integer constant to *module* as *name*. This convenience function "
545- "can be used from the module's initialization function. Return ``-1`` on "
546- "error, ``0`` on success."
548+ "can be used from the module's initialization function. Return ``-1`` with an "
549+ "exception set on error, ``0`` on success."
547550msgstr ""
548551
549552msgid ""
550553"Add a string constant to *module* as *name*. This convenience function can "
551554"be used from the module's initialization function. The string *value* must "
552- "be ``NULL``-terminated. Return ``-1`` on error, ``0`` on success."
555+ "be ``NULL``-terminated. Return ``-1`` with an exception set on error, ``0`` "
556+ "on success."
553557msgstr ""
554558
555559msgid ""
556560"Add an int constant to *module*. The name and the value are taken from "
557561"*macro*. For example ``PyModule_AddIntMacro(module, AF_INET)`` adds the int "
558- "constant *AF_INET* with the value of *AF_INET* to *module*. Return ``-1`` on "
559- "error, ``0`` on success."
562+ "constant *AF_INET* with the value of *AF_INET* to *module*. Return ``-1`` "
563+ "with an exception set on error, ``0`` on success."
560564msgstr ""
561565
562566msgid "Add a string constant to *module*."
@@ -566,7 +570,7 @@ msgid ""
566570"Add a type object to *module*. The type object is finalized by calling "
567571"internally :c:func:`PyType_Ready`. The name of the type object is taken from "
568572"the last component of :c:member:`~PyTypeObject.tp_name` after dot. Return "
569- "``-1`` on error, ``0`` on success."
573+ "``-1`` with an exception set on error, ``0`` on success."
570574msgstr ""
571575
572576msgid ""
@@ -576,7 +580,7 @@ msgid ""
576580"function is not called during module initialization, the import machinery "
577581"assumes the module does not support running without the GIL. This function "
578582"is only available in Python builds configured with :option:`--disable-gil`. "
579- "Return ``-1`` on error, ``0`` on success."
583+ "Return ``-1`` with an exception set on error, ``0`` on success."
580584msgstr ""
581585
582586msgid "Module lookup"
@@ -624,12 +628,12 @@ msgstr ""
624628msgid "The caller must hold the GIL."
625629msgstr ""
626630
627- msgid "Return 0 on success or -1 on failure ."
631+ msgid "Return ``-1`` with an exception set on error, ``0`` on success ."
628632msgstr ""
629633
630634msgid ""
631635"Removes the module object created from *def* from the interpreter state. "
632- "Return 0 on success or -1 on failure ."
636+ "Return ``-1`` with an exception set on error, ``0`` on success ."
633637msgstr ""
634638
635639msgid "object"
0 commit comments