@@ -12,7 +12,7 @@ msgid ""
1212msgstr ""
1313"Project-Id-Version : Python 3.15\n "
1414"Report-Msgid-Bugs-To : \n "
15- "POT-Creation-Date : 2026-05-11 16:26 +0000\n "
15+ "POT-Creation-Date : 2026-05-13 16:14 +0000\n "
1616"PO-Revision-Date : 2025-09-16 00:00+0000\n "
1717"Last-Translator : Blessing Oluronbi, 2026\n "
1818"Language-Team : Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n "
@@ -1228,22 +1228,35 @@ msgid ""
12281228"pickle. Additionally, it will not be listed in module documentations "
12291229"created with pydoc."
12301230msgstr ""
1231+ "Jeśli kropka nie jest obecna, całe pole :c:member:`~PyTypeObject.tp_name` "
1232+ "jest dostępne jako atrybut :attr:`~type.__name__`, a atrybut :attr:`~type."
1233+ "__module__` jest niezdefiniowany (chyba że zostanie jawnie ustawiony w "
1234+ "słowniku, jak wyjaśniono powyżej). Oznacza to, że Twój typ nie będzie mógł "
1235+ "zostać zamarynowany. Dodatkowo nie będzie on wymieniony w dokumentacji "
1236+ "modułó utworzonej za pomocą pydoc."
12311237
12321238msgid ""
12331239"This field must not be ``NULL``. It is the only required field in :c:func:"
12341240"`PyTypeObject` (other than potentially :c:member:`~PyTypeObject."
12351241"tp_itemsize`)."
12361242msgstr ""
1243+ "To pole nie może mieć wartości ``NULL``. Jest to jedyne wymagane pole w :c:"
1244+ "func:`PyTypeObject` (oprócz potencjalnie :c:member:`~PyTypeObject."
1245+ "tp_itemsize`)."
12371246
12381247msgid ""
12391248"These fields allow calculating the size in bytes of instances of the type."
12401249msgstr ""
1250+ "Pola te umożliwiają obliczenie rozmiaru instancji danego typu w bajtach."
12411251
12421252msgid ""
12431253"See :c:macro:`Py_tp_basicsize`, :c:macro:`Py_tp_extra_basicsize` and :c:"
12441254"macro:`Py_tp_itemsize` for the corresponding :c:member:`Slot IDs <PySlot."
12451255"sl_id>`."
12461256msgstr ""
1257+ "Zobacz :c:macro:`Py_tp_basicsize`, :c:macro:`Py_tp_extra_basicsize` i :c:"
1258+ "macro:`Py_tp_itemsize`, aby uzyskać odpowiednie :c:member:`identyfikatory "
1259+ "slotów <PySlot.sl_id>`."
12471260
12481261msgid ""
12491262"There are two kinds of types: types with fixed-length instances have a zero :"
@@ -1253,13 +1266,23 @@ msgid ""
12531266"tp_basicsize`. (Exceptions to this rule can be made using :c:func:"
12541267"`PyUnstable_Object_GC_NewWithExtraData`.)"
12551268msgstr ""
1269+ "Istnieją dwa rodzaje typów: typy o stałej długość instancja mają pole :c:"
1270+ "member:`!tp_itemsize` zerowe, typy o zmiennej długość instancja mają pole :c:"
1271+ "member:`!tp_itemsize` niezerowe. W przypadku typu o stałej długość instancja "
1272+ "wszystkie instancja mają ten sam rozmiar, określony w polu :c:member:`!"
1273+ "tp_basicsize`. (Wyjątki od tej reguły można utworzyć za pomocą :c:func:"
1274+ "`PyUnstable_Object_GC_NewWithExtraData`)."
12561275
12571276msgid ""
12581277"For a type with variable-length instances, the instances must have an :c:"
12591278"member:`~PyVarObject.ob_size` field, and the instance size is :c:member:`!"
12601279"tp_basicsize` plus N times :c:member:`!tp_itemsize`, where N is the "
12611280"\" length\" of the object."
12621281msgstr ""
1282+ "W przypadku typu z instancjami o zmiennej długość, instancje muszą mieć "
1283+ "pole :c:member:`~PyVarObject.ob_size`, a rozmiar instancja wynosi :c:member:"
1284+ "`!tp_basicsize` plus N razy :c:member:`!tp_itemsize`, gdzie N to długość "
1285+ "obiektu."
12631286
12641287msgid ""
12651288"Functions like :c:func:`PyObject_NewVar` will take the value of N as an "
@@ -1270,11 +1293,20 @@ msgid ""
12701293"underlying storage and its size should be accessed using :c:func:"
12711294"`PyLong_Export`."
12721295msgstr ""
1296+ "Funkcja takie jak :c:func:`PyObject_NewVar` przyjmują wartość N jako "
1297+ "argument i zapisują ją w polu :c:member:`~PyVarObject.ob_size` instancja. "
1298+ "Należy pamiętać, że pole cel:c:member:`~PyVarObject.ob_size` może być "
1299+ "później wdrożenie do innych celów. Na przykład instancja :py:type:`int` "
1300+ "używają bitów :c:member:`~PyVarObject.ob_size` w sposób zdefiniowany w "
1301+ "implementacji; dostęp do pamięci masowej i jej rozmiaru powinien być możliwy "
1302+ "za pomocą :c:func:`PyLong_Export`."
12731303
12741304msgid ""
12751305"The :c:member:`~PyVarObject.ob_size` field should be accessed using the :c:"
12761306"func:`Py_SIZE()` and :c:func:`Py_SET_SIZE()` macros."
12771307msgstr ""
1308+ "Do pola :c:member:`~PyVarObject.ob_size` należy uzyskać dostęp za pomocą "
1309+ "makr :c:func:`Py_SIZE()` i :c:func:`Py_SET_SIZE()` makro."
12781310
12791311msgid ""
12801312"Also, the presence of an :c:member:`~PyVarObject.ob_size` field in the "
@@ -1284,11 +1316,20 @@ msgid ""
12841316"`int`, avoid reading lists' :c:member:`!ob_size` directly. Call :c:func:"
12851317"`PyList_Size` instead.)"
12861318msgstr ""
1319+ "Ponadto obecność pola :c:member:`~PyVarObject.ob_size` w układzie instancja "
1320+ "nie oznacza, że struktura instancja ma zmienną długość. Na przykład typ :py:"
1321+ "type:`list` ma instancja o stałej długość, a mimo to instancja te mają pole :"
1322+ "c:member:`~PyVarObject.ob_size`. (Podobnie jak w przypadku :py:type:`int`, "
1323+ "należy unikać bezpośredniego odczytywania pola :c:member:`!ob_size` list. "
1324+ "Zamiast tego należy wywołać :c:func:`PyList_Size`)."
12871325
12881326msgid ""
12891327"The :c:member:`!tp_basicsize` includes size needed for data of the type's :c:"
12901328"member:`~PyTypeObject.tp_base`, plus any extra data needed by each instance."
12911329msgstr ""
1330+ ":c:member:`!tp_basicsize` obejmuje rozmiar potrzebny dla danych typu :c:"
1331+ "member:`~PyTypeObject.tp_base`, plus wszelkie dodatkowe dane potrzebne "
1332+ "każdej instancja."
12921333
12931334msgid ""
12941335"The correct way to set :c:member:`!tp_basicsize` is to use the ``sizeof`` "
@@ -1297,6 +1338,11 @@ msgid ""
12971338"`!tp_basicsize` must be greater than or equal to the base's :c:member:`!"
12981339"tp_basicsize`."
12991340msgstr ""
1341+ "Prawidłowym sposobem ustawienia :c:member:`!tp_basicsize` jest użycie "
1342+ "operatora ``sizeof`` w strukturze użytej do zadeklarowania układu instancja. "
1343+ "Struktura ta musi zawierać strukturę użytą do zadeklarowania typu bazowego. "
1344+ "Innymi słowy, :c:member:`!tp_basicsize` musi być większe lub równe :c:member:"
1345+ "`!tp_basicsize` elementu bazowego."
13001346
13011347msgid ""
13021348"Since every type is a subtype of :py:type:`object`, this struct must "
@@ -1305,6 +1351,11 @@ msgid ""
13051351"by the macro :c:macro:`PyObject_HEAD` or :c:macro:`PyObject_VAR_HEAD`, "
13061352"respectively."
13071353msgstr ""
1354+ "Ponieważ każdy typ jest podtypem :py:type:`object`, ta struktura musi "
1355+ "zawierać :c:type:`PyObject` lub :c:type:`PyVarObject` (w zależności od tego, "
1356+ "czy :c:member:`~PyVarObject.ob_size` ma być uwzględniony). Są one zazwyczaj "
1357+ "definiowane odpowiednio przez makro :c:macro:`PyObject_HEAD` lub :c:macro:"
1358+ "`PyObject_VAR_HEAD`."
13081359
13091360msgid ""
13101361"The basic size does not include the GC header size, as that header is not "
0 commit comments