11# SOME DESCRIPTIVE TITLE.
2- # Copyright (C) 2001-2023 , Python Software Foundation
2+ # Copyright (C) 2001-2025 , Python Software Foundation
33# This file is distributed under the same license as the Python package.
44# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55#
66# Translators:
7- # Transifex Bot < >, 2023
7+ # Rafael Fontenelle <rffontenelle@gmail.com >, 2025
88#
99#, fuzzy
1010msgid ""
1111msgstr ""
12- "Project-Id-Version : Python 3.11 \n "
12+ "Project-Id-Version : Python 3.13 \n "
1313"Report-Msgid-Bugs-To : \n "
14- "POT-Creation-Date : 2023-05-19 14:13 +0000\n "
15- "PO-Revision-Date : 2021-06-28 00:50 +0000\n "
16- "Last-Translator : Transifex Bot < >, 2023 \n "
14+ "POT-Creation-Date : 2025-07-11 15:02 +0000\n "
15+ "PO-Revision-Date : 2025-05-08 05:08 +0000\n "
16+ "Last-Translator : Rafael Fontenelle <rffontenelle@gmail.com >, 2025 \n "
1717"Language-Team : Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n "
1818"MIME-Version : 1.0\n "
1919"Content-Type : text/plain; charset=UTF-8\n "
@@ -24,7 +24,7 @@ msgstr ""
2424"n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n "
2525
2626msgid "Weak Reference Objects"
27- msgstr ""
27+ msgstr "Слабкі довідкові об’єкти "
2828
2929msgid ""
3030"Python supports *weak references* as first-class objects. There are two "
@@ -34,15 +34,17 @@ msgid ""
3434msgstr ""
3535
3636msgid ""
37- "Return true if *ob* is either a reference or proxy object. This function "
38- "always succeeds."
37+ "Return non-zero if *ob* is either a reference or proxy object. This "
38+ "function always succeeds."
3939msgstr ""
4040
4141msgid ""
42- "Return true if *ob* is a reference object. This function always succeeds."
42+ "Return non-zero if *ob* is a reference object. This function always "
43+ "succeeds."
4344msgstr ""
4445
45- msgid "Return true if *ob* is a proxy object. This function always succeeds."
46+ msgid ""
47+ "Return non-zero if *ob* is a proxy object. This function always succeeds."
4648msgstr ""
4749
4850msgid ""
@@ -52,7 +54,7 @@ msgid ""
5254"a callable object that receives notification when *ob* is garbage collected; "
5355"it should accept a single parameter, which will be the weak reference object "
5456"itself. *callback* may also be ``None`` or ``NULL``. If *ob* is not a "
55- "weakly referencable object, or if *callback* is not callable, ``None``, or "
57+ "weakly referenceable object, or if *callback* is not callable, ``None``, or "
5658"``NULL``, this will return ``NULL`` and raise :exc:`TypeError`."
5759msgstr ""
5860
@@ -63,13 +65,29 @@ msgid ""
6365"can be a callable object that receives notification when *ob* is garbage "
6466"collected; it should accept a single parameter, which will be the weak "
6567"reference object itself. *callback* may also be ``None`` or ``NULL``. If "
66- "*ob* is not a weakly referencable object, or if *callback* is not callable, "
68+ "*ob* is not a weakly referenceable object, or if *callback* is not callable, "
6769"``None``, or ``NULL``, this will return ``NULL`` and raise :exc:`TypeError`."
6870msgstr ""
6971
7072msgid ""
71- "Return the referenced object from a weak reference, *ref*. If the referent "
72- "is no longer live, returns :const:`Py_None`."
73+ "Get a :term:`strong reference` to the referenced object from a weak "
74+ "reference, *ref*, into *\\ *pobj*."
75+ msgstr ""
76+
77+ msgid ""
78+ "On success, set *\\ *pobj* to a new :term:`strong reference` to the "
79+ "referenced object and return 1."
80+ msgstr ""
81+
82+ msgid "If the reference is dead, set *\\ *pobj* to ``NULL`` and return 0."
83+ msgstr ""
84+
85+ msgid "On error, raise an exception and return -1."
86+ msgstr ""
87+
88+ msgid ""
89+ "Return a :term:`borrowed reference` to the referenced object from a weak "
90+ "reference, *ref*. If the referent is no longer live, returns ``Py_None``."
7391msgstr ""
7492
7593msgid ""
@@ -79,6 +97,9 @@ msgid ""
7997"reference."
8098msgstr ""
8199
100+ msgid "Use :c:func:`PyWeakref_GetRef` instead."
101+ msgstr ""
102+
82103msgid "Similar to :c:func:`PyWeakref_GetObject`, but does no error checking."
83104msgstr ""
84105
@@ -92,3 +113,19 @@ msgid ""
92113"for those references which have one. It returns when all callbacks have been "
93114"attempted."
94115msgstr ""
116+
117+ msgid "Clears the weakrefs for *object* without calling the callbacks."
118+ msgstr ""
119+
120+ msgid ""
121+ "This function is called by the :c:member:`~PyTypeObject.tp_dealloc` handler "
122+ "for types with finalizers (i.e., :meth:`~object.__del__`). The handler for "
123+ "those objects first calls :c:func:`PyObject_ClearWeakRefs` to clear weakrefs "
124+ "and call their callbacks, then the finalizer, and finally this function to "
125+ "clear any weakrefs that may have been created by the finalizer."
126+ msgstr ""
127+
128+ msgid ""
129+ "In most circumstances, it's more appropriate to use :c:func:"
130+ "`PyObject_ClearWeakRefs` to clear weakrefs instead of this function."
131+ msgstr ""
0 commit comments