@@ -12,7 +12,7 @@ msgid ""
12
12
msgstr ""
13
13
"Project-Id-Version : Python 3.13\n "
14
14
"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 "
16
16
"PO-Revision-Date : 2021-06-28 00:49+0000\n "
17
17
"Last-Translator : haaritsubaki, 2023\n "
18
18
"Language-Team : Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n "
@@ -50,6 +50,9 @@ msgid ""
50
50
"`__file__` attribute."
51
51
msgstr ""
52
52
53
+ msgid "Return ``NULL`` with an exception set on error."
54
+ msgstr ""
55
+
53
56
msgid ":attr:`__package__` and :attr:`__loader__` are set to ``None``."
54
57
msgstr ""
55
58
@@ -542,21 +545,22 @@ msgstr ""
542
545
543
546
msgid ""
544
547
"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."
547
550
msgstr ""
548
551
549
552
msgid ""
550
553
"Add a string constant to *module* as *name*. This convenience function can "
551
554
"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."
553
557
msgstr ""
554
558
555
559
msgid ""
556
560
"Add an int constant to *module*. The name and the value are taken from "
557
561
"*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."
560
564
msgstr ""
561
565
562
566
msgid "Add a string constant to *module*."
@@ -566,7 +570,7 @@ msgid ""
566
570
"Add a type object to *module*. The type object is finalized by calling "
567
571
"internally :c:func:`PyType_Ready`. The name of the type object is taken from "
568
572
"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."
570
574
msgstr ""
571
575
572
576
msgid ""
@@ -576,7 +580,7 @@ msgid ""
576
580
"function is not called during module initialization, the import machinery "
577
581
"assumes the module does not support running without the GIL. This function "
578
582
"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."
580
584
msgstr ""
581
585
582
586
msgid "Module lookup"
@@ -624,12 +628,12 @@ msgstr ""
624
628
msgid "The caller must hold the GIL."
625
629
msgstr ""
626
630
627
- msgid "Return 0 on success or -1 on failure ."
631
+ msgid "Return ``-1`` with an exception set on error, ``0`` on success ."
628
632
msgstr ""
629
633
630
634
msgid ""
631
635
"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 ."
633
637
msgstr ""
634
638
635
639
msgid "object"
0 commit comments