1
1
# SOME DESCRIPTIVE TITLE.
2
- # Copyright (C) 2001-2023 , Python Software Foundation
2
+ # Copyright (C) 2001-2025 , Python Software Foundation
3
3
# This file is distributed under the same license as the Python package.
4
4
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
5
#
6
6
# Translators:
7
- # Transifex Bot < >, 2023
7
+ # Rafael Fontenelle <rffontenelle@gmail.com >, 2025
8
8
#
9
9
#, fuzzy
10
10
msgid ""
11
11
msgstr ""
12
- "Project-Id-Version : Python 3.11 \n "
12
+ "Project-Id-Version : Python 3.13 \n "
13
13
"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 "
17
17
"Language-Team : Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n "
18
18
"MIME-Version : 1.0\n "
19
19
"Content-Type : text/plain; charset=UTF-8\n "
@@ -24,7 +24,7 @@ msgstr ""
24
24
"n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n "
25
25
26
26
msgid "Weak Reference Objects"
27
- msgstr ""
27
+ msgstr "Слабкі довідкові об’єкти "
28
28
29
29
msgid ""
30
30
"Python supports *weak references* as first-class objects. There are two "
@@ -34,15 +34,17 @@ msgid ""
34
34
msgstr ""
35
35
36
36
msgid ""
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."
39
39
msgstr ""
40
40
41
41
msgid ""
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."
43
44
msgstr ""
44
45
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."
46
48
msgstr ""
47
49
48
50
msgid ""
@@ -52,7 +54,7 @@ msgid ""
52
54
"a callable object that receives notification when *ob* is garbage collected; "
53
55
"it should accept a single parameter, which will be the weak reference object "
54
56
"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 "
56
58
"``NULL``, this will return ``NULL`` and raise :exc:`TypeError`."
57
59
msgstr ""
58
60
@@ -63,13 +65,29 @@ msgid ""
63
65
"can be a callable object that receives notification when *ob* is garbage "
64
66
"collected; it should accept a single parameter, which will be the weak "
65
67
"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, "
67
69
"``None``, or ``NULL``, this will return ``NULL`` and raise :exc:`TypeError`."
68
70
msgstr ""
69
71
70
72
msgid ""
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``."
73
91
msgstr ""
74
92
75
93
msgid ""
@@ -79,6 +97,9 @@ msgid ""
79
97
"reference."
80
98
msgstr ""
81
99
100
+ msgid "Use :c:func:`PyWeakref_GetRef` instead."
101
+ msgstr ""
102
+
82
103
msgid "Similar to :c:func:`PyWeakref_GetObject`, but does no error checking."
83
104
msgstr ""
84
105
@@ -92,3 +113,19 @@ msgid ""
92
113
"for those references which have one. It returns when all callbacks have been "
93
114
"attempted."
94
115
msgstr ""
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